Completed
Pull Request — master (#2523)
by jxlwqq
05:51
created
src/Middleware/LogOperation.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 
49 49
 
50 50
     /**
51
-     * @param $method
51
+     * @param string $method
52 52
      *
53 53
      * @return bool
54 54
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      * @return bool
54 54
      */
55 55
     protected function inAllowedMethods($method) {
56
-        $allowed_methods = array_map('strtoupper', (array)config('admin.operation_log.allowed_methods'));
56
+        $allowed_methods = array_map('strtoupper', (array) config('admin.operation_log.allowed_methods'));
57 57
         if (empty($allowed_methods)) {
58 58
             return true;
59 59
         } else {
Please login to merge, or discard this patch.