@@ -161,8 +161,7 @@ |
||
161 | 161 | { |
162 | 162 | $iNextDotPos = strpos($sName, '.', $sPrefixLen); |
163 | 163 | $sOptionName = $iNextDotPos === false ? |
164 | - substr($sName, $sPrefixLen) : |
|
165 | - substr($sName, $sPrefixLen, $iNextDotPos - $sPrefixLen); |
|
164 | + substr($sName, $sPrefixLen) : substr($sName, $sPrefixLen, $iNextDotPos - $sPrefixLen); |
|
166 | 165 | $aOptions[$sOptionName] = $sPrefix . $sOptionName; |
167 | 166 | } |
168 | 167 | } |
@@ -268,8 +268,7 @@ |
||
268 | 268 | } |
269 | 269 | |
270 | 270 | $this->aCommands = ($bBefore) ? |
271 | - array_merge($aCommands, $this->aCommands) : |
|
272 | - array_merge($this->aCommands, $aCommands); |
|
271 | + array_merge($aCommands, $this->aCommands) : array_merge($this->aCommands, $aCommands); |
|
273 | 272 | } |
274 | 273 | |
275 | 274 | /** |
@@ -312,8 +312,7 @@ |
||
312 | 312 | $reflectionMethod = $this->xReflectionClass->getMethod($sMethodName); |
313 | 313 | $reflectionMethod->setAccessible(true); // Make it possible to call protected methods |
314 | 314 | $xRegisteredObject = $this->getRegisteredObject(); |
315 | - (!$xResponse) ? $reflectionMethod->invoke($xRegisteredObject) : |
|
316 | - $reflectionMethod->invoke($xRegisteredObject, $xResponse); |
|
315 | + (!$xResponse) ? $reflectionMethod->invoke($xRegisteredObject) : $reflectionMethod->invoke($xRegisteredObject, $xResponse); |
|
317 | 316 | } |
318 | 317 | } |
319 | 318 |