| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 6 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 41 | protected function prepareRestoreCommand(string $filePath): string | ||
| 42 |     { | ||
| 43 |         $restoreCommand = sprintf("%ssqlite3 %s", | ||
| 44 | $this->dumpCommandPath, | ||
| 45 | $this->dbName | ||
| 46 | ); | ||
| 47 | |||
| 48 |         if ($this->isCompress) { | ||
| 49 |             return "{$this->compressBinaryPath}{$this->compressCommand} < {$filePath} | {$restoreCommand}"; | ||
| 50 | } | ||
| 51 | |||
| 52 |         return "{$restoreCommand} < {$filePath}"; | ||
| 53 | } | ||
| 55 |