Skip to content

Commit

Permalink
Update FeedGenerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
puklipo committed Dec 2, 2024
1 parent 4e214cc commit ba343b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FeedGenerator/FeedGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use BackedEnum;
use Closure;
use Illuminate\Http\Request;
use Revolution\Bluesky\Socialite\Key\JsonWebToken;
use InvalidArgumentException;
use Revolution\Bluesky\Support\DID;

use function Illuminate\Support\enum_value;
Expand Down Expand Up @@ -45,7 +45,7 @@ final class FeedGenerator
public static function register(BackedEnum|string $name, callable $algo): void
{
if (! is_callable($algo)) {
throw new \InvalidArgumentException('algo is not callable.');
throw new InvalidArgumentException('algo is not callable.');
}

self::$algos[enum_value($name)] = $algo(...);
Expand Down

0 comments on commit ba343b9

Please sign in to comment.