@@ -111,8 +111,9 @@ |
||
111 | 111 | public function loadDirectory(string $path) |
112 | 112 | { |
113 | 113 | foreach (new DirectoryIterator($path) as $file) { |
114 | - if ($file->isDot()) |
|
115 | - continue; |
|
114 | + if ($file->isDot()) { |
|
115 | + continue; |
|
116 | + } |
|
116 | 117 | |
117 | 118 | $this->loadFile($file->getPathname()); |
118 | 119 | } |
@@ -147,7 +147,9 @@ |
||
147 | 147 | return false; |
148 | 148 | } |
149 | 149 | $ret = ($newPos >= 0 && $newPos <= $l); |
150 | - if ($ret) $p = $newPos; |
|
150 | + if ($ret) { |
|
151 | + $p = $newPos; |
|
152 | + } |
|
151 | 153 | return $ret; |
152 | 154 | } |
153 | 155 | } |