@@ -15,7 +15,6 @@ |
||
15 | 15 | use App\Core\Exception\UploadException; |
16 | 16 | use BEdita\SDK\BEditaClientException; |
17 | 17 | use Cake\Event\Event; |
18 | -use Cake\Http\Exception\InternalErrorException; |
|
19 | 18 | use Cake\Http\Response; |
20 | 19 | use Cake\Utility\Hash; |
21 | 20 | use Psr\Log\LogLevel; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace App\Controller; |
14 | 14 | |
15 | 15 | use BEdita\SDK\BEditaClientException; |
16 | -use Cake\Core\Configure; |
|
17 | 16 | use Cake\Event\Event; |
18 | 17 | use Cake\Http\Response; |
19 | 18 | use Cake\Utility\Hash; |
@@ -470,7 +470,7 @@ |
||
470 | 470 | * Otherwise, throw \InvalidArgumentException |
471 | 471 | * |
472 | 472 | * @param string $name The method name |
473 | - * @return array |
|
473 | + * @return callable |
|
474 | 474 | */ |
475 | 475 | public static function getMethod(string $name) : array |
476 | 476 | { |