Skip to content

Commit

Permalink
[#13648] - Fixing interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed May 15, 2019
1 parent 44d8772 commit b9fcaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions phalcon/Firewall/Adapter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ abstract class Adapter implements AdapterInterface, EventsAwareInterface
* Should role always be resolved using role callback or just once?
* @var bool
*/
protected alwaysResolvingRole = false;
protected alwaysResolvingRole = false { set };

/**
* Cache for caching access
Expand Down Expand Up @@ -96,14 +96,6 @@ abstract class Adapter implements AdapterInterface, EventsAwareInterface
return this->alwaysResolvingRole;
}

/**
* Sets always resolving role option
*/
public function setAlwaysResolvingRole(bool alwaysResolvingRole) -> bool
{
let this->alwaysResolvingRole = alwaysResolvingRole;
}

/**
* Sets the events manager
*/
Expand Down
2 changes: 1 addition & 1 deletion phalcon/Firewall/AdapterInterface.zep
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface AdapterInterface
/**
* Sets always resolving role option
*/
public function setAlwaysResolvingRole(bool alwaysResolvingRole) -> bool;
public function setAlwaysResolvingRole(bool alwaysResolvingRole) -> void;

/**
* Sets cache backend
Expand Down

0 comments on commit b9fcaf7

Please sign in to comment.