Completed
Push — master ( 9df9c8...3f2069 )
by Park Jong-Hun
02:16
created
app/Auth/PermissionManager/DatabasePermissionManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         $operationKey = ArrayUtils::find($this->permission, $operation);
23 23
 
24
-        if($operationKey === false) {
24
+        if ($operationKey === false) {
25 25
             return null;
26 26
         }
27 27
 
Please login to merge, or discard this patch.
core/ErrorReporter/ErrorReporterService.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     private function registerErrorReporters()
47 47
     {
48
-        set_exception_handler(function ($exception) {
48
+        set_exception_handler(function($exception) {
49 49
             /**
50 50
              * @var ErrorReporterInterface $reporter
51 51
              */
@@ -54,13 +54,13 @@  discard block
 block discarded – undo
54 54
 
55 55
                 $this->initHttpResponseHeader($exception);
56 56
 
57
-                if($this->config['displayErrors'] === true) {
57
+                if ($this->config['displayErrors'] === true) {
58 58
                     echo $reportResult;
59 59
                 }
60 60
             }
61 61
         });
62 62
 
63
-        set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) {
63
+        set_error_handler(function($errno, $errstr, $errfile, $errline, array $errcontext) {
64 64
             throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
65 65
         });
66 66
     }
Please login to merge, or discard this patch.
app/Admin/Welcome.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace App\Controller\Admin;
4 4
 
5 5
 use Core\Application;
6
-use Core\Utils\ArrayUtils;
7 6
 use Core\ViewModel;
8 7
 use Prob\ArrayUtil\KeyGlue;
9 8
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,8 @@
 block discarded – undo
42 42
 
43 43
         $events = $glue->glueKeyAndContainValue();
44 44
 
45
-        foreach($events as $k => $v) {
46
-            if(is_string($events[$k]) == false) {
45
+        foreach ($events as $k => $v) {
46
+            if (is_string($events[$k]) == false) {
47 47
                 $events[$k] = '{ Closure function }';
48 48
             }
49 49
         }
Please login to merge, or discard this patch.