File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ protected static function resolveCoversToReflectionObjects($coveredElement)
808808 if (strpos ($ coveredElement , ':: ' ) !== FALSE ) {
809809 list ($ className , $ methodName ) = explode (':: ' , $ coveredElement );
810810
811- if ($ methodName{ 0 } == '< ' ) {
811+ if ($ methodName[ 0 ] == '< ' ) {
812812 $ classes = array ($ className );
813813
814814 foreach ($ classes as $ className ) {
@@ -825,7 +825,7 @@ protected static function resolveCoversToReflectionObjects($coveredElement)
825825
826826 $ class = new ReflectionClass ($ className );
827827 $ methods = $ class ->getMethods ();
828- $ inverse = isset ($ methodName{ 1 } ) && $ methodName{ 1 } == '! ' ;
828+ $ inverse = isset ($ methodName[ 1 ] ) && $ methodName[ 1 ] == '! ' ;
829829
830830 if (strpos ($ methodName , 'protected ' )) {
831831 $ visibility = 'isProtected ' ;
You can’t perform that action at this time.
0 commit comments