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