@@ -17,12 +17,10 @@ |
||
17 | 17 | if (!file_exists($path)) |
18 | 18 | { |
19 | 19 | throw new \InvalidArgumentException("Given path '{$path}' does not exist."); |
20 | - } |
|
21 | - elseif (!is_dir($path)) |
|
20 | + } elseif (!is_dir($path)) |
|
22 | 21 | { |
23 | 22 | throw new \InvalidArgumentException("Given path '{$path}' is not a directory."); |
24 | - } |
|
25 | - elseif (!is_readable($path)) |
|
23 | + } elseif (!is_readable($path)) |
|
26 | 24 | { |
27 | 25 | throw new \InvalidArgumentException("Given directory '{$path}' is not readable.'"); |
28 | 26 | } |
@@ -13,7 +13,7 @@ |
||
13 | 13 | $contexts[$algorithm] = hash_init($algorithm); |
14 | 14 | } |
15 | 15 | |
16 | -while(!feof($fileHandle)) |
|
16 | +while (!feof($fileHandle)) |
|
17 | 17 | { |
18 | 18 | $buffer = fread($fileHandle, 65536); |
19 | 19 |
@@ -17,7 +17,6 @@ |
||
17 | 17 | * |
18 | 18 | * @param Index $mergedIndex |
19 | 19 | * @param Index $localIndex |
20 | - * @param Index|null $remoteIndex |
|
21 | 20 | * @return OperationList |
22 | 21 | */ |
23 | 22 | public function buildOperationList(Index $mergedIndex, Index $localIndex): OperationList; |