Skip to content

Commit 7a5b58b

Browse files
raftalkstaylorotwell
authored andcommitted
Fix ConnectionInterface methods (#25092)
Declaration of Illuminate\Database\Connection class methods must be compatible with Illuminate\Database\ConnectionInterface
1 parent c228d87 commit 7a5b58b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Illuminate/Database/ConnectionInterface.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,20 @@ public function raw($value);
2727
*
2828
* @param string $query
2929
* @param array $bindings
30+
* @param bool $useReadPdo
3031
* @return mixed
3132
*/
32-
public function selectOne($query, $bindings = []);
33+
public function selectOne($query, $bindings = [], $useReadPdo = true);
3334

3435
/**
3536
* Run a select statement against the database.
3637
*
3738
* @param string $query
3839
* @param array $bindings
40+
* @param bool $useReadPdo
3941
* @return array
4042
*/
41-
public function select($query, $bindings = []);
43+
public function select($query, $bindings = [], $useReadPdo = true);
4244

4345
/**
4446
* Run an insert statement against the database.

0 commit comments

Comments
 (0)