File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ protected function getDataReader(): SelectableReaderInterface
5050
5151 protected function performOperation (int $ index )
5252 {
53- $ op = $ this ->getPatchPointer ()->read ("/ {$ index }/op " )->getData ();
53+ $ operation = $ this ->getPatchPointer ()->read ("/ {$ index }/op " )->getData ();
5454 $ path = $ this ->getPatchPointer ()->read ("/ {$ index }/path " )->getData ();
55- switch ($ op ) {
55+ switch ($ operation ) {
5656 case 'add ' :
5757 $ valueReader = $ this ->getPatchPointer ()->read ("/ {$ index }/value " );
5858 $ this ->getDataPointer ()->add ($ path , $ valueReader );
@@ -91,7 +91,7 @@ protected function performOperation(int $index)
9191 break ;
9292
9393 default :
94- throw new \RuntimeException ("Unknown operation ' {$ op }' " );
94+ throw new \RuntimeException ("Unknown operation ' {$ operation }' " );
9595 }
9696 return $ this ;
9797 }
You can’t perform that action at this time.
0 commit comments