Passed
Push — master ( 749b16...167cfa )
by Gabor
04:47
created
src/WebHemi/Routing/Result.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Routing;
15 15
 
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Data/PDO/MySQLAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\Data\PDO;
15 15
 
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
      *
279 279
      * @codeCoverageIgnore Don't test external library.
280 280
      */
281
-    public function saveData(?int $identifier = null, array $data) : int
281
+    public function saveData(? int $identifier = null, array $data) : int
282 282
     {
283 283
         if (empty($identifier)) {
284 284
             $query = "INSERT INTO {$this->dataGroup}";
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
         $this->bindValuesToStatement($statement, $queryBind);
309 309
         $statement->execute();
310 310
 
311
-        return empty($identifier) ? (int)$this->dataDriver->lastInsertId() : $identifier;
311
+        return empty($identifier) ? (int) $this->dataDriver->lastInsertId() : $identifier;
312 312
     }
313 313
 
314 314
     /**
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Data/PDO/MySQLDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\Data\PDO;
15 15
 
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Data/PDO/SQLiteDriver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\Data\PDO;
15 15
 
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Data/PDO/SQLiteAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\Data\PDO;
15 15
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      * @throws RuntimeException
60 60
      * @return int The ID of the saved entity in the storage
61 61
      */
62
-    public function saveData(?int $identifier = null, array $data) : int
62
+    public function saveData(? int $identifier = null, array $data) : int
63 63
     {
64 64
         return empty($identifier) ? $this->insertData($data) : $this->updateData($identifier, $data);
65 65
     }
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         $this->bindValuesToStatement($statement, $queryBind);
95 95
         $statement->execute();
96 96
 
97
-        return (int)$this->dataDriver->lastInsertId();
97
+        return (int) $this->dataDriver->lastInsertId();
98 98
     }
99 99
 
100 100
     /**
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Data/DataAdapterInterface.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\Data;
15 15
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * @param array $data
82 82
      * @return int The ID of the saved entity in the storage
83 83
      */
84
-    public function saveData(?int $identifier, array $data) : int;
84
+    public function saveData(? int $identifier, array $data) : int;
85 85
 
86 86
     /**
87 87
      * Removes an entity from the storage.
Please login to merge, or discard this patch.
src/WebHemi/Adapter/Data/DataDriverInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\Data;
15 15
 
Please login to merge, or discard this patch.
src/WebHemi/Adapter/DependencyInjection/Symfony/SymfonyAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\DependencyInjection\Symfony;
15 15
 
Please login to merge, or discard this patch.
WebHemi/Adapter/DependencyInjection/DependencyInjectionAdapterInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  *
10 10
  * @link      http://www.gixx-web.com
11 11
  */
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace WebHemi\Adapter\DependencyInjection;
15 15
 
Please login to merge, or discard this patch.