| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class BaseRegistry implements Repository |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Find the module by unique name |
||
| 11 | * |
||
| 12 | * @param string $uniqueName |
||
| 13 | * @return mixed |
||
| 14 | */ |
||
| 15 | abstract public function findByUniqueName(string $uniqueName); |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param $scope |
||
| 19 | * @param $arguments |
||
| 20 | * @return $this |
||
| 21 | */ |
||
| 22 | protected function scope($scope, $arguments) |
||
|
|
|||
| 23 | { |
||
| 24 | return $this; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Handle scope call |
||
| 29 | * |
||
| 30 | * @param $name |
||
| 31 | * @param $arguments |
||
| 32 | * @return BaseRegistry |
||
| 33 | */ |
||
| 34 | public function __call($name, $arguments) |
||
| 37 | } |
||
| 38 | } |
||
| 39 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.