This commit is contained in:
Shoghi Cervantes 2014-02-10 20:47:21 +01:00
parent 5057a3965e
commit b635a54b13

View File

@ -33,7 +33,7 @@ class Utils{
public static function getCallableIdentifier(callable $variable){ public static function getCallableIdentifier(callable $variable){
if(is_array($variable)){ if(is_array($variable)){
return sha1(strtolower(get_class($variable))."::".strtolower($variable[1])); return sha1(strtolower(get_class($variable[0]))."::".strtolower($variable[1]));
}else{ }else{
return sha1(strtolower($variable)); return sha1(strtolower($variable));
} }