diff --git a/composer.json b/composer.json index fddbd6ae0..3fc57afad 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "mockery/mockery": "^1.0", "phpstan/extension-installer": "^1.3", "phpstan/phpstan-strict-rules": "^1.5", - "rector/rector": "1.0.3" + "rector/rector": "1.0.4" }, "provide": { "codeigniter4/authentication-implementation": "1.0" diff --git a/src/Filters/AuthRates.php b/src/Filters/AuthRates.php index 2b9a9eae2..a533cf6e5 100644 --- a/src/Filters/AuthRates.php +++ b/src/Filters/AuthRates.php @@ -17,7 +17,6 @@ use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\RequestInterface; -use CodeIgniter\HTTP\Response; use CodeIgniter\HTTP\ResponseInterface; /** @@ -59,8 +58,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/ChainAuth.php b/src/Filters/ChainAuth.php index 4f014898b..56be2c7b0 100644 --- a/src/Filters/ChainAuth.php +++ b/src/Filters/ChainAuth.php @@ -67,8 +67,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/ForcePasswordResetFilter.php b/src/Filters/ForcePasswordResetFilter.php index 017aad124..65f55492a 100644 --- a/src/Filters/ForcePasswordResetFilter.php +++ b/src/Filters/ForcePasswordResetFilter.php @@ -17,7 +17,6 @@ use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RedirectResponse; use CodeIgniter\HTTP\RequestInterface; -use CodeIgniter\HTTP\Response; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Shield\Authentication\Authenticators\Session; @@ -52,8 +51,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/JWTAuth.php b/src/Filters/JWTAuth.php index a650702b8..c85bcc308 100644 --- a/src/Filters/JWTAuth.php +++ b/src/Filters/JWTAuth.php @@ -16,7 +16,6 @@ use CodeIgniter\Filters\FilterInterface; use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RequestInterface; -use CodeIgniter\HTTP\Response; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Shield\Authentication\Authenticators\JWT; use Config\Services; @@ -64,8 +63,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/SessionAuth.php b/src/Filters/SessionAuth.php index 915d92a4c..2063f240d 100644 --- a/src/Filters/SessionAuth.php +++ b/src/Filters/SessionAuth.php @@ -95,8 +95,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void { diff --git a/src/Filters/TokenAuth.php b/src/Filters/TokenAuth.php index 9e2fdd91a..b882e20d8 100644 --- a/src/Filters/TokenAuth.php +++ b/src/Filters/TokenAuth.php @@ -79,8 +79,7 @@ public function before(RequestInterface $request, $arguments = null) /** * We don't have anything to do here. * - * @param Response|ResponseInterface $response - * @param array|null $arguments + * @param array|null $arguments */ public function after(RequestInterface $request, ResponseInterface $response, $arguments = null): void {