@@ -92,6 +92,9 @@ discard block |
||
92 | 92 | } |
93 | 93 | |
94 | 94 | |
95 | + /** |
|
96 | + * @param integer $code |
|
97 | + */ |
|
95 | 98 | private function terminate($code) |
96 | 99 | { |
97 | 100 | throw new TerminateException(NULL, $code); |
@@ -141,7 +144,7 @@ discard block |
||
141 | 144 | |
142 | 145 | |
143 | 146 | /** |
144 | - * @param $configFile |
|
147 | + * @param string $configFile |
|
145 | 148 | * @param Container|NULL $bootstrapContainer |
146 | 149 | * @return Container |
147 | 150 | */ |
@@ -137,10 +137,10 @@ |
||
137 | 137 | if (is_file($destination)) { |
138 | 138 | if ($options['onDuplicate'] == self::ERROR) { |
139 | 139 | $this->error("File '$destination' already exists."); |
140 | - }elseif ($options['onDuplicate'] == self::SKIP) { |
|
140 | + } elseif ($options['onDuplicate'] == self::SKIP) { |
|
141 | 141 | $this->log("File '$destination' already exists, skipping ..."); |
142 | 142 | continue; |
143 | - }elseif ($options['onDuplicate'] == self::REWRITE) { |
|
143 | + } elseif ($options['onDuplicate'] == self::REWRITE) { |
|
144 | 144 | $command->delete($destination); |
145 | 145 | } |
146 | 146 | } |
@@ -21,6 +21,6 @@ |
||
21 | 21 | if (PHP_VERSION_ID < 70000) { // backwards compatibility |
22 | 22 | |
23 | 23 | namespace { |
24 | - class Throwable extends \Exception{} // it's actually interface, but this is shortcut |
|
24 | + class Throwable extends \Exception {} // it's actually interface, but this is shortcut |
|
25 | 25 | } |
26 | 26 | } |
27 | 27 | \ No newline at end of file |