Skip to content

Commit

Permalink
Update MaintenanceMode.php
Browse files Browse the repository at this point in the history
- Compatible with CI 4.1.1
  • Loading branch information
daycry authored May 10, 2021
1 parent c3a7931 commit 95e7d58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Filters/MaintenanceMode.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class MaintenanceMode implements FilterInterface
*
* @return mixed
*/
public function before(RequestInterface $request)
public function before(RequestInterface $request, $arguments = null)
{
\CodeigniterExt\MaintenanceMode\Controllers\MaintenanceMode::check();
}
Expand All @@ -28,7 +28,7 @@ public function before(RequestInterface $request)
*
* @return mixed
*/
public function after(RequestInterface $request, ResponseInterface $response)
public function after(RequestInterface $request, ResponseInterface $response, $arguments = null)
{
}
}
}

0 comments on commit 95e7d58

Please sign in to comment.