Skip to content

Commit

Permalink
Undo variable name change
Browse files Browse the repository at this point in the history
  • Loading branch information
AliceKLWilliams committed Mar 20, 2024
1 parent 50fe7b0 commit 80a2b2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/PostQueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function throw_error_on_missing_static_function()
$errorThrown = false;
try {
Post::missingStaticFunction();
} catch (Throwable $th) {
} catch (Throwable $e) {
$errorThrown = true;
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/ScopedQueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function missing_query_scope_throws_an_error()
try {
$builder = new ScopedQueryBuilder(PostWithQueryScope::class);
$builder->nonExistentScope();
} catch (Throwable $th) {
} catch (Throwable $e) {
$errorThrown = true;
}

Expand Down

0 comments on commit 80a2b2e

Please sign in to comment.