| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public static function fileMappingDriversRequireConfiguredDirectoryPath(?string $path = null) : self |
||
| 34 | { |
||
| 35 | if (! empty($path)) { |
||
| 36 | $path = '[' . $path . ']'; |
||
| 37 | } |
||
| 38 | |||
| 39 | return new self(sprintf( |
||
| 40 | 'File mapping drivers must have a valid directory path, ' . |
||
| 41 | 'however the given path %s seems to be incorrect!', |
||
| 42 | $path |
||
| 43 | )); |
||
| 69 |