Skip to content

Commit

Permalink
fix: PHP 8.2 deprecation warning on SentinelServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
PDXfoster authored and brunogaspar committed Aug 10, 2023
1 parent dc87b08 commit c11ed1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Laravel/SentinelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ protected function registerCheckpoints()

foreach ($activeCheckpoints as $checkpoint) {
if (! $app->offsetExists("sentinel.checkpoint.{$checkpoint}")) {
throw new InvalidArgumentException("Invalid checkpoint [${checkpoint}] given.");
throw new InvalidArgumentException("Invalid checkpoint [{$checkpoint}] given.");
}

$checkpoints[$checkpoint] = $app["sentinel.checkpoint.{$checkpoint}"];
Expand Down

0 comments on commit c11ed1d

Please sign in to comment.