-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add __benevolent return types to doctrine Result stub
- Loading branch information
1 parent
664e380
commit 1e59c4e
Showing
4 changed files
with
110 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
namespace Doctrine\DBAL; | ||
|
||
/** | ||
* Legacy Class that keeps BC for using the legacy APIs fetch()/fetchAll(). | ||
* | ||
* @deprecated Use the dedicated fetch*() methods for the desired fetch mode instead. | ||
*/ | ||
class FetchMode | ||
{ | ||
/** @link PDO::FETCH_ASSOC */ | ||
public const ASSOCIATIVE = 2; | ||
|
||
/** @link PDO::FETCH_NUM */ | ||
public const NUMERIC = 3; | ||
|
||
/** @link PDO::FETCH_COLUMN */ | ||
public const COLUMN = 7; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters