@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | return $this->defined->getArrayCopy(); |
| 63 | 63 | } |
| 64 | 64 | |
| 65 | - return (array)$this->defined; |
|
| 65 | + return (array) $this->defined; |
|
| 66 | 66 | } |
| 67 | 67 | |
| 68 | 68 | /** |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | return $this->defaults->getArrayCopy(); |
| 83 | 83 | } |
| 84 | 84 | |
| 85 | - return (array)$this->defaults; |
|
| 85 | + return (array) $this->defaults; |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
@@ -102,6 +102,6 @@ discard block |
||
| 102 | 102 | return $this->required->getArrayCopy(); |
| 103 | 103 | } |
| 104 | 104 | |
| 105 | - return (array)$this->required; |
|
| 105 | + return (array) $this->required; |
|
| 106 | 106 | } |
| 107 | 107 | } |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | if ( ! file_exists($config)) { |
| 119 | 119 | throw new RuntimeException(sprintf( |
| 120 | 120 | _('Non-existing configuration source: %1$s'), |
| 121 | - (string)$config |
|
| 121 | + (string) $config |
|
| 122 | 122 | )); |
| 123 | 123 | } |
| 124 | 124 | |
@@ -137,13 +137,13 @@ discard block |
||
| 137 | 137 | } catch (Exception $exception) { |
| 138 | 138 | throw new RuntimeException(sprintf( |
| 139 | 139 | _('Loading from configuration source %1$s failed. Reason: %2$s'), |
| 140 | - (string)$configString, |
|
| 141 | - (string)$exception->getMessage() |
|
| 140 | + (string) $configString, |
|
| 141 | + (string) $exception->getMessage() |
|
| 142 | 142 | )); |
| 143 | 143 | } |
| 144 | 144 | } |
| 145 | 145 | |
| 146 | - return (array)$config; |
|
| 146 | + return (array) $config; |
|
| 147 | 147 | } |
| 148 | 148 | |
| 149 | 149 | /** |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | parent::__construct($config, ArrayObject::ARRAY_AS_PROPS); |
| 53 | 53 | |
| 54 | 54 | if (null !== $delimiter) { |
| 55 | - $this->delimiter = (array)$delimiter; |
|
| 55 | + $this->delimiter = (array) $delimiter; |
|
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | */ |
| 137 | 137 | public function getKeys() |
| 138 | 138 | { |
| 139 | - return array_keys((array)$this); |
|
| 139 | + return array_keys((array) $this); |
|
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | // Replace all of the configured delimiters by the first one, so that we can then use explode(). |
| 181 | 181 | $normalizedString = str_replace($this->delimiter, $this->delimiter[0], $keyString); |
| 182 | 182 | |
| 183 | - return (array)explode($this->delimiter[0], $normalizedString); |
|
| 183 | + return (array) explode($this->delimiter[0], $normalizedString); |
|
| 184 | 184 | } |
| 185 | 185 | |
| 186 | 186 | /** |