Passed
Push — master ( 7d0739...4a2912 )
by Iman
03:52
created
src/helpers/DbInspector.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      */
17 17
     public static function findPK($table)
18 18
     {
19
-        if (! $table) {
19
+        if (!$table) {
20 20
             return 'id';
21 21
         }
22 22
 
@@ -25,13 +25,13 @@  discard block
 block discarded – undo
25 25
         }
26 26
         $table = CRUDBooster::parseSqlTable($table);
27 27
 
28
-        if (! $table['table']) {
28
+        if (!$table['table']) {
29 29
             throw new \Exception("parseSqlTable can't determine the table");
30 30
         }
31 31
 
32 32
         $primaryKey = self::findPKname($table);
33 33
 
34
-        if (! $primaryKey) {
34
+        if (!$primaryKey) {
35 35
             return 'id';
36 36
         }
37 37
         CbCache::put('table_'.$table, 'primaryKey', $primaryKey);
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
         }
97 97
 
98 98
         $table = self::getTableForeignKey($fieldName);
99
-        if (! $table) {
99
+        if (!$table) {
100 100
             return false;
101 101
         }
102 102
 
Please login to merge, or discard this patch.