@@ -27,8 +27,9 @@ |
||
| 27 | 27 | function __construct(string $rootPath) |
| 28 | 28 | { |
| 29 | 29 | $rootPath = realpath($rootPath); |
| 30 | - if (!$rootPath) |
|
| 31 | - throw new \InvalidArgumentException('INVALID_ROOT_PATH'); |
|
| 30 | + if (!$rootPath) { |
|
| 31 | + throw new \InvalidArgumentException('INVALID_ROOT_PATH'); |
|
| 32 | + } |
|
| 32 | 33 | |
| 33 | 34 | $this->rootPath = $rootPath; |
| 34 | 35 | } |