Completed
Push — master ( 5b3e8e...9e1e3c )
by Jay
04:05
created
src/Config/Ini.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
     public function __construct($filePath, $section = null)
17 17
     {
18 18
         $this->filePath = (string)$filePath;
19
-        $this->section = is_null($section) ? null : (string) $section;
19
+        $this->section = is_null($section) ? null : (string)$section;
20 20
     }
21 21
 
22 22
     /**
Please login to merge, or discard this patch.
src/Cache/Driver/Memcached.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      */
184 184
     public function getSetting($setting)
185 185
     {
186
-        $setting = (string) $setting;
186
+        $setting = (string)$setting;
187 187
         return isset($this->settings[$setting]) ? $this->settings[$setting] : null;
188 188
     }
189 189
 }
Please login to merge, or discard this patch.
src/Import/Config/Field/Validator/Integer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         if (is_float($value) && ((int)$value === 0)) {
32 32
             return false;
33 33
         }
34
-        $valueTest = (int) $value;
34
+        $valueTest = (int)$value;
35 35
         return ($valueTest === 0) ? is_numeric($value) : ($valueTest == $value);
36 36
     }
37 37
 
Please login to merge, or discard this patch.
src/Import/Config/Field/Formatter/IdFromField.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      */
28 28
     public function format($value)
29 29
     {
30
-        $value = (string) $value;
30
+        $value = (string)$value;
31 31
         if ($value == "") {
32 32
             $this->hasError = true;
33 33
             return "";
Please login to merge, or discard this patch.
src/Response/Header/Authorization.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
      */
69 69
     public function getValue()
70 70
     {
71
-        return $this->getAuthorizationType() . ' ' . ($this->getToken() ? : '');
71
+        return $this->getAuthorizationType() . ' ' . ($this->getToken() ?: '');
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
src/Response/Header/ContentDisposition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
      */
44 44
     public function setFileName($fileName = null)
45 45
     {
46
-        $this->fileName = is_null($fileName) ? null : (string) $fileName;
46
+        $this->fileName = is_null($fileName) ? null : (string)$fileName;
47 47
         return $this;
48 48
     }
49 49
 
Please login to merge, or discard this patch.
src/Response/Header/Status.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     const VALUE_OK = '200 OK';
16 16
 
17
-    const VALUE_BAD_REQUEST= '400 Bad Request';
17
+    const VALUE_BAD_REQUEST = '400 Bad Request';
18 18
     const VALUE_UNAUTHORIZED = '401 Unauthorized';
19 19
     const VALUE_PAYMENT_REQUIRED = '402 Payment Required';
20 20
     const VALUE_FORBIDDEN = '403 Forbidden';
Please login to merge, or discard this patch.
src/Session.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
      */
230 230
     public function get($name)
231 231
     {
232
-        $name = (string) $name;
232
+        $name = (string)$name;
233 233
         return $this->has($name) ? $_SESSION[$name] : null;
234 234
     }
235 235
 
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      */
242 242
     public function has($name)
243 243
     {
244
-        $name = (string) $name;
244
+        $name = (string)$name;
245 245
         return $this->start() && array_key_exists($name, $_SESSION);
246 246
     }
247 247
 
@@ -255,7 +255,7 @@  discard block
 block discarded – undo
255 255
     public function set($name, $value)
256 256
     {
257 257
         if ($this->start()) {
258
-            $name = (string) $name;
258
+            $name = (string)$name;
259 259
             $_SESSION[$name] = $value;
260 260
         }
261 261
         return $this;
Please login to merge, or discard this patch.
src/Cache/Driver/Redis.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
      */
184 184
     public function getSetting($setting)
185 185
     {
186
-        $setting = (string) $setting;
186
+        $setting = (string)$setting;
187 187
         return isset($this->settings[$setting]) ? $this->settings[$setting] : null;
188 188
     }
189 189
 }
Please login to merge, or discard this patch.