Passed
Push — main ( b94a81...f6c2a3 )
by Pranjal
02:29
created
src/Factory/DatabaseFactory.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,21 +63,21 @@
 block discarded – undo
63 63
      */
64 64
     private function createConnection(array $connectionParams): void
65 65
     {
66
-        $this->container->set(Connection::class, function () use ($connectionParams): Connection {
66
+        $this->container->set(Connection::class, function() use ($connectionParams): Connection {
67 67
             return DriverManager::getConnection($connectionParams);
68 68
         });
69 69
     }
70 70
 
71 71
     private function createModelManager(): void
72 72
     {
73
-        $this->container->set(ModelManager::class, function (): ModelManager {
73
+        $this->container->set(ModelManager::class, function(): ModelManager {
74 74
             return new ModelManager($this->container);
75 75
         });
76 76
     }
77 77
 
78 78
     private function createConfig(bool $useUUID = false, bool $frozen = false): void
79 79
     {
80
-        $this->container->set(Config::class, function () use ($useUUID, $frozen): Config {
80
+        $this->container->set(Config::class, function() use ($useUUID, $frozen): Config {
81 81
             return new Config($useUUID, $frozen);
82 82
         });
83 83
     }
Please login to merge, or discard this patch.
src/Database.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      *
54 54
      * @return int|numeric-string
55 55
      */
56
-    public function exec(string $sql, array $params = []): int|string
56
+    public function exec(string $sql, array $params = []): int | string
57 57
     {
58 58
         return $this->connection->executeStatement($sql, $params);
59 59
     }
Please login to merge, or discard this patch.