Passed
Pull Request — master (#190)
by Arman
02:47
created
src/Libraries/Jwt/JwtToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      */
159 159
     public function fetchData(): ?array
160 160
     {
161
-        return isset($this->fetchedPayload->data) ? (array)$this->fetchedPayload->data : null;
161
+        return isset($this->fetchedPayload->data) ? (array) $this->fetchedPayload->data : null;
162 162
     }
163 163
 
164 164
     /**
Please login to merge, or discard this patch.
src/Libraries/Validation/Rules/General.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,9 +82,9 @@
 block discarded – undo
82 82
         if (!empty($value)) {
83 83
             $captcha = CaptchaFactory::get();
84 84
 
85
-            if (!$captcha->verify($value)){
85
+            if (!$captcha->verify($value)) {
86 86
                 $errorCode = $captcha->getErrorMessage();
87
-                $this->addError($field, 'captcha.'.$errorCode, $param);
87
+                $this->addError($field, 'captcha.' . $errorCode, $param);
88 88
             }
89 89
         }
90 90
     }
Please login to merge, or discard this patch.
src/App/Adapters/ConsoleAppAdapter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,9 @@
 block discarded – undo
27 27
 use Quantum\Exceptions\BaseException;
28 28
 use ReflectionException;
29 29
 
30
-if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
30
+if (!defined('DS')) {
31
+    define('DS', DIRECTORY_SEPARATOR);
32
+}
31 33
 
32 34
 /**
33 35
  * Class ConsoleAppAdapter
Please login to merge, or discard this patch.
src/App/Adapters/WebAppAdapter.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,9 @@
 block discarded – undo
44 44
 use ReflectionException;
45 45
 use Quantum\Di\Di;
46 46
 
47
-if (!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
47
+if (!defined('DS')) {
48
+    define('DS', DIRECTORY_SEPARATOR);
49
+}
48 50
 
49 51
 /**
50 52
  * Class WebAppAdapter
Please login to merge, or discard this patch.