@@ -142,7 +142,7 @@ |
||
142 | 142 | |
143 | 143 | $h = $this->getDimensions()[1]; |
144 | 144 | |
145 | - $this->side_values = array_values(array_filter($this->side_values, function ($height) use ($h) { |
|
145 | + $this->side_values = array_values(array_filter($this->side_values, function($height) use ($h) { |
|
146 | 146 | return $height < $h; |
147 | 147 | })); |
148 | 148 | } |
@@ -91,7 +91,9 @@ |
||
91 | 91 | static::makeDir($dst); |
92 | 92 | |
93 | 93 | foreach (scandir($src) as $file) { |
94 | - if (in_array($file, [".", ".."])) continue; |
|
94 | + if (in_array($file, [".", ".."])) { |
|
95 | + continue; |
|
96 | + } |
|
95 | 97 | |
96 | 98 | if (is_dir($src . DIRECTORY_SEPARATOR . $file)) { |
97 | 99 | static::moveDir($src . DIRECTORY_SEPARATOR . $file, $dst . DIRECTORY_SEPARATOR . $file); |