src/Plugins/Response.php
Call to undeclared method \Mvc5\Plugins\Response::plugin
Open
Open
return $this->plugin(RESPONSE_JSON, [$data, $status, $headers]);
- Exclude checks
Doc-block of redirect
contains declared return type mixed
which is incompatible with the return type \Mvc5\Http\Response
declared in the signature Open
Open
* @return Http\Response|\Mvc5\Response\RedirectResponse|mixed
- Exclude checks
Call to undeclared method \Mvc5\Plugins\Response::plugin
Open
Open
return $this->plugin(RESPONSE, [$body, $status, $headers, $config]);
- Exclude checks
Possibly zero references to protected method \Mvc5\Plugins\Response::json()
Open
Open
protected function json($data, int $status = 200, array $headers = []) : Http\Response
- Exclude checks
Possibly zero references to protected method \Mvc5\Plugins\Response::response()
Open
Open
protected function response($body = null, int $status = null, $headers = [], array $config = []) : Http\Response
- Exclude checks
Possibly zero references to protected method \Mvc5\Plugins\Response::redirect()
Open
Open
protected function redirect($url, int $status = 302, array $headers = [], array $config = []) : Http\Response
- Exclude checks
Doc-block of response
contains declared return type mixed
which is incompatible with the return type \Mvc5\Http\Response
declared in the signature Open
Open
* @return Http\Response|\Mvc5\Response\Response|mixed
- Exclude checks
Call to undeclared method \Mvc5\Plugins\Response::plugin
Open
Open
return $this->plugin(RESPONSE_REDIRECT, [$url, $status, $headers, $config]);
- Exclude checks
Possibly zero references to class \Mvc5\Plugins\Response
Open
Open
trait Response
- Exclude checks
Doc-block of json
contains declared return type mixed
which is incompatible with the return type \Mvc5\Http\Response
declared in the signature Open
Open
* @return Http\Response|\Mvc5\Response\JsonResponse|mixed
- Exclude checks