Skip to content

Commit

Permalink
actually making the instance method statis
Browse files Browse the repository at this point in the history
  • Loading branch information
enygma committed Oct 5, 2015
1 parent 636f29c commit 177a72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enforcer.php
Expand Up @@ -16,7 +16,7 @@ class Enforcer
* @param \Psecio\PropAuth\PolicySet|null $policySet Set of policies [optional]
* @return \Psecio\PropAuth\Enforcer instance
*/
public function instance(\Psecio\PropAuth\PolicySet $policySet = null)
public static function instance(\Psecio\PropAuth\PolicySet $policySet = null)
{
return new Enforcer($policySet);
}
Expand Down

0 comments on commit 177a72f

Please sign in to comment.