File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,11 @@ protected function createFunction()
67
67
*/
68
68
protected function getClassAndMethod ()
69
69
{
70
- static $ classses_and_methods = array ();
70
+ static $ classes_and_methods = array ();
71
71
72
- if ( isset ( $ classses_and_methods [$ this ->function_name ] ) )
72
+ if ( isset ( $ classes_and_methods [$ this ->function_name ] ) )
73
73
{
74
- return $ classses_and_methods [$ this ->function_name ];
74
+ return $ classes_and_methods [$ this ->function_name ];
75
75
}
76
76
77
77
$ class_and_method = explode ( ':: ' , $ this ->function_name );
@@ -91,6 +91,6 @@ protected function getClassAndMethod()
91
91
trigger_error ( "Static method ' {$ this ->function_name }' must exist and be public. " , E_USER_ERROR );
92
92
}
93
93
94
- return $ classses_and_methods [$ this ->function_name ] = $ class_and_method ;
94
+ return $ classes_and_methods [$ this ->function_name ] = $ class_and_method ;
95
95
}
96
96
}
You can’t perform that action at this time.
0 commit comments