| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class GetBucketPolicy extends CommandHandler |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Get the policy of a bucket. |
||
| 20 | * |
||
| 21 | * @param array $params |
||
| 22 | * |
||
| 23 | * @return int|mixed |
||
| 24 | * @throws \Exception |
||
| 25 | */ |
||
| 26 | public function handle($params = []) |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param array $params |
||
| 43 | * |
||
| 44 | * @return bool |
||
| 45 | */ |
||
| 46 | public function validateParams($params = []) |
||
| 51 |
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.