Passed
Push — main ( 25ea52...815284 )
by Pranjal
02:14
created
src/Manager/RecordManager.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -69,17 +69,17 @@
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-    * Get single record by id
73
-    * @param string $table
74
-    * @param mixed $id
75
-    */
72
+     * Get single record by id
73
+     * @param string $table
74
+     * @param mixed $id
75
+     */
76 76
     public function getById(string $table, mixed $id): Model|null
77 77
     {
78 78
         $query =  (new QueryBuilder($this->connection,$this->modelManager))
79
-                 ->select('*')
80
-                 ->from($table, 't')
81
-                 ->where("t.id = ?")
82
-                 ->setParameter(0, $id);
79
+                    ->select('*')
80
+                    ->from($table, 't')
81
+                    ->where("t.id = ?")
82
+                    ->setParameter(0, $id);
83 83
 
84 84
         return $query->first();
85 85
     }
Please login to merge, or discard this patch.