Skip to content

Commit b9cb7e1

Browse files
committed
Resolve psalm errors
1 parent 45c2f1f commit b9cb7e1

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

src/Php7/FakePdo.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ class FakePdo extends PDO implements FakePdoInterface
99
{
1010
use FakePdoTrait;
1111

12-
/**
13-
* @param string $statement
14-
* @param ?array $options
15-
*/
12+
/**
13+
* @param string $statement
14+
* @param array $options
15+
* @return FakePdoStatement
16+
*/
1617
public function prepare($statement, array $options = [])
1718
{
1819
return new FakePdoStatement($this, $statement, $this->real);

src/Php8/FakePdo.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ class FakePdo extends \PDO implements FakePdoInterface
99
{
1010
use FakePdoTrait;
1111

12-
/**
13-
* @param string $statement
14-
* @param array $options
15-
*/
12+
/**
13+
* @param string $statement
14+
* @param array $options
15+
* @return FakePdoStatement
16+
*/
1617
public function prepare($statement, array $options = [])
1718
{
1819
return new FakePdoStatement($this, $statement, $this->real);

0 commit comments

Comments
 (0)