Skip to content

Commit 4967b7d

Browse files
committed
Update PdoMock.php
Signed-off-by: Nathanael Esayeas <[email protected]>
1 parent 1b5c5d7 commit 4967b7d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/unit/Adapter/Driver/TestAsset/PdoMock.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
namespace LaminasTest\Db\Adapter\Driver\TestAsset;
66

77
use PDO;
8+
use ReturnTypeWillChange;
89

910
/**
1011
* Stub class
@@ -15,14 +16,12 @@ public function __construct()
1516
{
1617
}
1718

18-
/** @return bool */
19-
public function beginTransaction()
19+
public function beginTransaction(): bool
2020
{
2121
return true;
2222
}
2323

24-
/** @return bool */
25-
public function commit()
24+
public function commit(): bool
2625
{
2726
return true;
2827
}

0 commit comments

Comments
 (0)