diff options
author | Chris Cornutt <enygma@phpdeveloper.org> | 2015-05-30 05:53:44 -0500 |
---|---|---|
committer | Chris Cornutt <enygma@phpdeveloper.org> | 2015-05-30 05:53:44 -0500 |
commit | 61841c73cabd8cadf2e4783b68a677b1824f9a72 (patch) | |
tree | 3a4be84564ce78f16b38ab981a01198097c527ba | |
parent | 45508c838ab99a40f2575dc8701c45f147f48f99 (diff) | |
download | gatekeeper-61841c73cabd8cadf2e4783b68a677b1824f9a72.zip gatekeeper-61841c73cabd8cadf2e4783b68a677b1824f9a72.tar.gz gatekeeper-61841c73cabd8cadf2e4783b68a677b1824f9a72.tar.bz2 |
changing evaluate call to remove redundant optional second param
-rw-r--r-- | src/Psecio/Gatekeeper/Gatekeeper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Psecio/Gatekeeper/Gatekeeper.php b/src/Psecio/Gatekeeper/Gatekeeper.php index 80f112b..5741252 100644 --- a/src/Psecio/Gatekeeper/Gatekeeper.php +++ b/src/Psecio/Gatekeeper/Gatekeeper.php @@ -589,6 +589,6 @@ class Gatekeeper public static function evaluatePolicy($name, $data) { $policy = Gatekeeper::findPolicyByName($name); - return $policy->evaluate($data, $policy->expression); + return $policy->evaluate($data); } }
\ No newline at end of file |