@@ -66,18 +66,18 @@ discard block |
||
66 | 66 | } |
67 | 67 | } |
68 | 68 | |
69 | - /** |
|
69 | + /** |
|
70 | 70 | * Shieldon middleware invokable class. |
71 | 71 | * |
72 | - * @param Request $request |
|
73 | - * |
|
74 | - * @return mixed |
|
75 | - */ |
|
76 | - public function before(Request $request) |
|
77 | - { |
|
78 | - if ($request->isCLI()) { |
|
79 | - return; |
|
80 | - } |
|
72 | + * @param Request $request |
|
73 | + * |
|
74 | + * @return mixed |
|
75 | + */ |
|
76 | + public function before(Request $request) |
|
77 | + { |
|
78 | + if ($request->isCLI()) { |
|
79 | + return; |
|
80 | + } |
|
81 | 81 | |
82 | 82 | // CodeIgniter 4 is not a PSR-7 compatible framework, therefore we don't |
83 | 83 | // pass the Reqest and Reposne to Firewall instance. |
@@ -100,18 +100,18 @@ discard block |
||
100 | 100 | $httpResolver = new HttpResolver(); |
101 | 101 | $httpResolver($response); |
102 | 102 | } |
103 | - } |
|
104 | - |
|
105 | - /** |
|
106 | - * We don't have anything to do here. |
|
107 | - * |
|
108 | - * @param Response $request |
|
109 | - * @param Response $response |
|
110 | - * |
|
111 | - * @return mixed |
|
112 | - */ |
|
113 | - public function after(Request $request, Response $response) |
|
114 | - { |
|
103 | + } |
|
104 | + |
|
105 | + /** |
|
106 | + * We don't have anything to do here. |
|
107 | + * |
|
108 | + * @param Response $request |
|
109 | + * @param Response $response |
|
110 | + * |
|
111 | + * @return mixed |
|
112 | + */ |
|
113 | + public function after(Request $request, Response $response) |
|
114 | + { |
|
115 | 115 | |
116 | 116 | } |
117 | 117 | } |
118 | 118 | \ No newline at end of file |