Skip to content

Commit

Permalink
PDO statement stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Inkin authored and ondrejmirtes committed May 10, 2020
1 parent f6cca85 commit dfd3c63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions conf/config.neon
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ parameters:
- ../stubs/ArrayObject.stub
- ../stubs/WeakReference.stub
- ../stubs/ext-ds.stub
- ../stubs/PDOStatement.stub
earlyTerminatingMethodCalls: []
earlyTerminatingFunctionCalls: []
memoryLimitFile: %tmpDir%/.memory_limit
Expand Down
10 changes: 10 additions & 0 deletions stubs/PDOStatement.stub
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

/**
* @implements Traversable<array<int|string, mixed>>
* @link https://php.net/manual/en/class.pdostatement.php
*/
class PDOStatement implements Traversable
{

}

0 comments on commit dfd3c63

Please sign in to comment.