Skip to content

Commit

Permalink
[10.x] Remove unused exception variable (#46136)
Browse files Browse the repository at this point in the history
  • Loading branch information
andiLeong authored Feb 16, 2023
1 parent 3729e69 commit 9e26311
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Access/Gate.php
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ protected function methodAllowsGuests($class, $method)
$reflection = new ReflectionClass($class);

$method = $reflection->getMethod($method);
} catch (Exception $e) {
} catch (Exception) {
return false;
}

Expand Down

0 comments on commit 9e26311

Please sign in to comment.