Skip to content

Commit

Permalink
Better Anonym class compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitexus committed May 23, 2024
1 parent 5e466a1 commit 4f64927
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Ease/Anonym.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ class Anonym extends Brick implements Person
*/
public $settings = [];

/**
* Where to look for settings
* @var string
*/
public $settingsColumn = 'settings';

/**
* User object name setting.
*
Expand Down Expand Up @@ -157,6 +163,15 @@ public function getPermission(/** @scrutinizer ignore-unused */ $permKeyword = n
return;
}

/**
* Annonym cannot be signed in
*
* @return bool
*/
public function tryToLogin(){
return false;
}

/**
* Just fake.
*
Expand Down

0 comments on commit 4f64927

Please sign in to comment.