Completed
Push — master ( 6bc7cf...be821e )
by James Ekow Abaka
05:06
created
src/RecordWrapper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -61,8 +61,8 @@  discard block
 block discarded – undo
61 61
             $this->quotedTable = $driver->quoteIdentifier($table);
62 62
             $this->table = $this->unquotedTable = $table;
63 63
         } else {
64
-            $this->quotedTable = ( isset($table['schema']) ? "{$driver->quoteIdentifier($table["schema"])}." : "") . $driver->quoteIdentifier($table["table"]);
65
-            $this->unquotedTable = (isset($table['schema']) ? "{$table['schema']}." : "") . $table['table'];
64
+            $this->quotedTable = (isset($table['schema']) ? "{$driver->quoteIdentifier($table["schema"])}." : "").$driver->quoteIdentifier($table["table"]);
65
+            $this->unquotedTable = (isset($table['schema']) ? "{$table['schema']}." : "").$table['table'];
66 66
             $this->table = $table['table'];
67 67
             $this->schema = $table['schema'];
68 68
         }
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     public function getDescription() {
82 82
         return Cache::read(
83
-            (new \ReflectionClass($this))->getName() . '::desc', function() {
83
+            (new \ReflectionClass($this))->getName().'::desc', function() {
84 84
                 return new ModelDescription($this);
85 85
             }
86 86
         );
Please login to merge, or discard this patch.
src/Context.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,11 +18,11 @@
 block discarded – undo
18 18
         $this->container = $container;
19 19
         $this->dbContext = $container->resolve(\ntentan\atiaa\DbContext::class);
20 20
         $this->container->bind(interfaces\ModelJoinerInterface::class)
21
-             ->to(Resolver::class);
21
+                ->to(Resolver::class);
22 22
         $this->container->bind(interfaces\TableNameResolverInterface::class)
23
-             ->to(Resolver::class);
23
+                ->to(Resolver::class);
24 24
         $this->container->bind(interfaces\ModelClassResolverInterface::class)
25
-             ->to(Resolver::class);
25
+                ->to(Resolver::class);
26 26
         self::$instance = $this;
27 27
     }
28 28
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
     
69 69
     public static function getInstance() {
70
-        if(self::$instance === null) throw new NibiiException("A context has not yet been initialized");
70
+        if (self::$instance === null) throw new NibiiException("A context has not yet been initialized");
71 71
         return self::$instance;
72 72
     }
73 73
     
Please login to merge, or discard this patch.