Skip to content

Commit e2b6bbb

Browse files
committed
Fix var usage
1 parent c8054d2 commit e2b6bbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/UnifiedSpecTests/Operation.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public function __construct(stdClass $o)
8181
*/
8282
public function assert(Context $context, bool $rethrowExceptions = false)
8383
{
84-
$throwable = null;
84+
$error = null;
8585
$result = null;
8686

8787
try {
@@ -98,7 +98,7 @@ public function assert(Context $context, bool $rethrowExceptions = false)
9898
$error = $e;
9999
}
100100

101-
$this->expectError->assert($throwable);
101+
$this->expectError->assert($error);
102102
$this->expectResult->assert($result);
103103

104104
// Rethrowing is primarily used for withTransaction callbacks

0 commit comments

Comments
 (0)