@@ -7,8 +7,7 @@ |
||
| 7 | 7 | public static function getType($class, $alias) |
| 8 | 8 | { |
| 9 | 9 | return self::isLegacy() ? |
| 10 | - $alias : |
|
| 11 | - $class; |
|
| 10 | + $alias : $class; |
|
| 12 | 11 | } |
| 13 | 12 | |
| 14 | 13 | public static function isLegacy() |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | $argumentsString = ""; |
| 88 | 88 | |
| 89 | 89 | foreach (get_object_vars($command) as $propertyName => $propertyValue) { |
| 90 | - $argumentsString .= $propertyName . " => '" . $propertyValue . "', "; |
|
| 90 | + $argumentsString .= $propertyName." => '".$propertyValue."', "; |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | return substr($argumentsString, 0, -2); |