Skip to content

Commit 80a2b2e

Browse files
Undo variable name change
1 parent 50fe7b0 commit 80a2b2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Unit/PostQueryBuilderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function throw_error_on_missing_static_function()
5353
$errorThrown = false;
5454
try {
5555
Post::missingStaticFunction();
56-
} catch (Throwable $th) {
56+
} catch (Throwable $e) {
5757
$errorThrown = true;
5858
}
5959

tests/Unit/ScopedQueryBuilderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function missing_query_scope_throws_an_error()
119119
try {
120120
$builder = new ScopedQueryBuilder(PostWithQueryScope::class);
121121
$builder->nonExistentScope();
122-
} catch (Throwable $th) {
122+
} catch (Throwable $e) {
123123
$errorThrown = true;
124124
}
125125

0 commit comments

Comments
 (0)