Skip to content

Commit 07fd1df

Browse files
committed
Fix stubs after making uninitialized object return Error
1 parent f84ca8d commit 07fd1df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ext/pdo/pdo_stmt.stub.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ public function bindValue(string|int $parameter, mixed $value, int $type = PDO::
1616
/** @return bool */
1717
public function closeCursor() {}
1818

19-
/** @return int|false */
19+
/** @return int */
2020
public function columnCount() {}
2121

2222
/** @return bool|null */
2323
public function debugDumpParams() {}
2424

25-
/** @return string|false|null */
25+
/** @return string|null */
2626
public function errorCode() {}
2727

28-
/** @return array|false */
28+
/** @return array */
2929
public function errorInfo() {}
3030

3131
/** @return bool */
@@ -52,7 +52,7 @@ public function getColumnMeta(int $column) {}
5252
/** @return bool */
5353
public function nextRowset() {}
5454

55-
/** @return int|false */
55+
/** @return int */
5656
public function rowCount() {}
5757

5858
/** @return bool */

0 commit comments

Comments
 (0)