Skip to content

Commit

Permalink
Merge pull request #63 from chrisreedio/bugfix/create-user-closure-init
Browse files Browse the repository at this point in the history
🐛 fix: initialized $createUserClosure to null in `SocialmentPlugin.php`
  • Loading branch information
chrisreedio authored Jul 2, 2024
2 parents 9c74b41 + f8ae673 commit 1d77835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/Socialment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@

namespace ChrisReedIO\Socialment;

class Socialment
{
}
class Socialment {}
2 changes: 1 addition & 1 deletion src/SocialmentPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class SocialmentPlugin implements Plugin

public static array $globalPostLoginCallbacks = [];

public ?Closure $createUserClosure;
public ?Closure $createUserClosure = null;

protected string | Closure | null $loginRoute = null;

Expand Down

0 comments on commit 1d77835

Please sign in to comment.