| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | class GetBucketPolicy extends CommandHandler |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * Get the policy of a bucket. |
||
| 21 | * |
||
| 22 | * @param array $params |
||
| 23 | * |
||
| 24 | * @return int|mixed |
||
| 25 | * @throws Exception |
||
| 26 | */ |
||
| 27 | 1 | public function handle(array $params = []): mixed |
|
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @param array $params |
||
| 42 | * |
||
| 43 | * @return bool |
||
| 44 | */ |
||
| 45 | 1 | public function validateParams(array $params = []): bool |
|
| 50 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.