@@ -185,7 +185,7 @@ |
||
| 185 | 185 | $this->bodyContentEvaluated = true; |
| 186 | 186 | } |
| 187 | 187 | |
| 188 | - return (string)$this->bodyContent; |
|
| 188 | + return (string) $this->bodyContent; |
|
| 189 | 189 | } |
| 190 | 190 | |
| 191 | 191 | /** |
@@ -78,10 +78,10 @@ |
||
| 78 | 78 | */ |
| 79 | 79 | public static function associative_array_split($key, array &$array, $considerOffset = true) |
| 80 | 80 | { |
| 81 | - $offset = array_search($key, array_keys($array)) + (int)$considerOffset; |
|
| 81 | + $offset = array_search($key, array_keys($array)) + (int) $considerOffset; |
|
| 82 | 82 | $result = array(); |
| 83 | 83 | |
| 84 | - $result[0] = array_slice($array, 0 , $offset, true); |
|
| 84 | + $result[0] = array_slice($array, 0, $offset, true); |
|
| 85 | 85 | $result[1] = array_slice($array, $offset, null, true); |
| 86 | 86 | |
| 87 | 87 | return $result; |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | * @param InputInterface $input |
| 90 | 90 | * @param string $param |
| 91 | 91 | */ |
| 92 | - private function setServiceParameter(InputInterface &$input, $param) |
|
| 92 | + private function setServiceParameter(InputInterface & $input, $param) |
|
| 93 | 93 | { |
| 94 | 94 | Service::setParameter($param, $input->getOption($param)); |
| 95 | 95 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | public function __construct($filePath) |
| 20 | 20 | { |
| 21 | 21 | $this->fs = new Filesystem(); |
| 22 | - $p = $this->filePath = $this->fs->absolutePath((string)$filePath); |
|
| 22 | + $p = $this->filePath = $this->fs->absolutePath((string) $filePath); |
|
| 23 | 23 | |
| 24 | 24 | $this->extension = strtolower($this->fs->getExtension($p)); |
| 25 | 25 | $this->refreshFileContent(); |
@@ -54,7 +54,7 @@ |
||
| 54 | 54 | private static function flatten(array $array) |
| 55 | 55 | { |
| 56 | 56 | $return = array(); |
| 57 | - array_walk_recursive($array, function($a) use (&$return) { $return[] = $a; }); |
|
| 57 | + array_walk_recursive($array, function ($a) use (&$return) { $return[] = $a; }); |
|
| 58 | 58 | return $return; |
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | \ No newline at end of file |