Completed
Push — master ( 5fcd1d...ed73b9 )
by nassim
36:55 queued 26:51
created
src/Abstracts/Middleware.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
         return $next($request);
37 37
     }
38 38
 
39
+    /**
40
+     * @param \Illuminate\Http\Request $request
41
+     */
39 42
     public function skip($request)
40 43
     {
41 44
         $this->prepare($request);
@@ -133,6 +136,9 @@  discard block
 block discarded – undo
133 136
         return $result;
134 137
     }
135 138
 
139
+    /**
140
+     * @return string
141
+     */
136 142
     public function prepareInput($value)
137 143
     {
138 144
         return $value;
Please login to merge, or discard this patch.
src/Listeners/CheckLogin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
         event(new AttackDetected($log));
29 29
     }
30 30
 
31
+    /**
32
+     * @param Event $event
33
+     */
31 34
     public function skip($event)
32 35
     {
33 36
         $this->request = request();
Please login to merge, or discard this patch.
src/Traits/Helper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@  discard block
 block discarded – undo
14 14
         return config('firewall.middleware.' . $middleware . '.enabled', config('firewall.enabled'));
15 15
     }
16 16
 
17
+    /**
18
+     * @param string $middleware
19
+     */
17 20
     public function isDisabled($middleware = null)
18 21
     {
19 22
         return !$this->isEnabled($middleware);
@@ -81,6 +84,9 @@  discard block
 block discarded – undo
81 84
         return !in_array((string) $name, (array) $inputs['except']);
82 85
     }
83 86
 
87
+    /**
88
+     * @param string $middleware
89
+     */
84 90
     public function log($middleware = null, $user_id = null, $level = 'medium')
85 91
     {
86 92
         $middleware = $middleware ?? $this->middleware;
Please login to merge, or discard this patch.