@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | */ |
| 54 | 54 | public function apply($config) |
| 55 | 55 | { |
| 56 | - foreach ((array)$config as $name => $value) |
|
| 56 | + foreach ((array) $config as $name => $value) |
|
| 57 | 57 | { |
| 58 | 58 | $this->offsetSet($name, $value); |
| 59 | 59 | } |
@@ -134,9 +134,9 @@ discard block |
||
| 134 | 134 | { |
| 135 | 135 | throw new GazeboException("Class `$name` used as key does not exists. Tried to set value."); |
| 136 | 136 | } |
| 137 | - foreach($value as $cfg) |
|
| 137 | + foreach ($value as $cfg) |
|
| 138 | 138 | { |
| 139 | - if(is_array($cfg)) |
|
| 139 | + if (is_array($cfg)) |
|
| 140 | 140 | { |
| 141 | 141 | $className = $cfg[$this->_di->classField]; |
| 142 | 142 | } |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | (string) $interfaces |
| 125 | 125 | ]; |
| 126 | 126 | } |
| 127 | - $key .= '.' . implode('.', $interfaces); |
|
| 127 | + $key .= '.'.implode('.', $interfaces); |
|
| 128 | 128 | } |
| 129 | 129 | $key .= $this->getKey($config); |
| 130 | 130 | if (!isset($this->instances[$key])) |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | { |
| 38 | 38 | if (null === self::$_version) |
| 39 | 39 | { |
| 40 | - self::$_version = require __DIR__ . '/version.php'; |
|
| 40 | + self::$_version = require __DIR__.'/version.php'; |
|
| 41 | 41 | } |
| 42 | 42 | return self::$_version; |
| 43 | 43 | } |