Skip to content

Commit 7c848c9

Browse files
committed
qa: restore RTH in test stub
Fully BC, and with combination of annotation, shows union allowed under 7.3. Signed-off-by: Matthew Weier O'Phinney <[email protected]>
1 parent aa13332 commit 7c848c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/Adapter/Driver/Pdo/TestAsset/CtorlessPdo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct($mockStatement)
3131
* @return PDOStatement|false
3232
*/
3333
#[ReturnTypeWillChange]
34-
public function prepare($sql, $options = null)
34+
public function prepare($sql, $options = null): PDOStatement
3535
{
3636
return $this->mockStatement;
3737
}

0 commit comments

Comments
 (0)