Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielCoulbourne authored and github-actions[bot] committed Feb 13, 2024
1 parent 5895869 commit b9b34d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Lifecycle/Guards.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected function passesAuthorization(): bool
if ($result instanceof Response) {
return $result->authorize();
}

if (is_bool($result)) {
return $result;
}
Expand Down
3 changes: 1 addition & 2 deletions tests/Feature/PendingEventChecksTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

$this->assertTrue($event->isAllowed());

$event = EventWithBooleanAuth::make([
$event = EventWithBooleanAuth::make([
'allowed' => false,
]);

Expand Down Expand Up @@ -74,7 +74,6 @@
$this->assertFalse($event->isValid());
});


class EventWithBooleanAuth extends Event
{
public bool $allowed;
Expand Down

0 comments on commit b9b34d1

Please sign in to comment.