@@ -169,7 +169,7 @@ private function parseArgument($token)
169169 // if input is expecting another argument, add it
170170 if ($ this ->definition ->hasArgument ($ c )) {
171171 $ arg = $ this ->definition ->getArgument ($ c );
172- $ this ->arguments [$ arg ->getName ()] = $ arg ->isArray ()? array ($ token ) : $ token ;
172+ $ this ->arguments [$ arg ->getName ()] = $ arg ->isArray () ? array ($ token ) : $ token ;
173173
174174 // if last argument isArray(), append token to last argument
175175 } elseif ($ this ->definition ->hasArgument ($ c - 1 ) && $ this ->definition ->getArgument ($ c - 1 )->isArray ()) {
@@ -249,7 +249,7 @@ private function addLongOption($name, $value)
249249
250250 if ($ option ->isArray ()) {
251251 $ this ->options [$ name ][] = $ value ;
252- } else if ($ option ->isValueOptionull () && true === $ value ) {
252+ } elseif ($ option ->isValueOptionull () && true === $ value ) {
253253 $ this ->options [$ name ] = $ option ->getSetDefault ();
254254 } else {
255255 $ this ->options [$ name ] = $ value ;
@@ -338,7 +338,7 @@ public function __toString()
338338 $ self = $ this ;
339339 $ tokens = array_map (function ($ token ) use ($ self ) {
340340 if (preg_match ('{^(-[^=]+=)(.+)} ' , $ token , $ match )) {
341- return $ match [1 ] . $ self ->escapeToken ($ match [2 ]);
341+ return $ match [1 ]. $ self ->escapeToken ($ match [2 ]);
342342 }
343343
344344 if ($ token && $ token [0 ] !== '- ' ) {
0 commit comments