|
|
@@ -18,7 +18,7 @@ final class ResponseHelper
|
|
|
]);
|
|
|
}
|
|
|
|
|
|
- public static function error(Response $response, string $msg): ResponseInterface
|
|
|
+ public static function error(Response $response, mixed $msg): ResponseInterface
|
|
|
{
|
|
|
return $response->withJson([
|
|
|
'ret' => 0,
|
|
|
@@ -26,7 +26,7 @@ final class ResponseHelper
|
|
|
]);
|
|
|
}
|
|
|
|
|
|
- public static function buildTableConfig(array $data, string $uri): array
|
|
|
+ public static function buildTableConfig(array $data, mixed $uri): array
|
|
|
{
|
|
|
return [
|
|
|
'total_column' => $data,
|