| Total Complexity | 2 |
| Total Lines | 13 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ObblmPackage |
||
| 9 | { |
||
| 10 | private $package; |
||
| 11 | |||
| 12 | public function __construct($kernetProjectDir, $uploadDirectory, $publicUploadUrl = null) |
||
|
|
|||
| 13 | { |
||
| 14 | $directory = str_replace($kernetProjectDir, '', $uploadDirectory); |
||
| 15 | $this->package = new PathPackage($directory, new EmptyVersionStrategy()); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getUrl(string $path) |
||
| 21 | } |
||
| 22 | } |
||
| 23 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.