Completed
Push — develop ( 468254...b37504 )
by Christopher
11:55
created
src/Potato.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         if (!$this->tableName)
29 29
         {
30 30
             $ref = new ReflectionClass($this);
31
-            $this->tableName = strtolower($ref->getShortName()).'s';
31
+            $this->tableName = strtolower($ref->getShortName()) . 's';
32 32
         }
33 33
 
34 34
         Self::$table = $this->tableName;
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
 
67 67
     public static function getAll()
68 68
     {
69
-        if(!Self::$table) {
69
+        if (!Self::$table) {
70 70
             self::$table = strtolower(static::class) . 's';
71 71
         }
72 72
 
73
-        $query = "SELECT * FROM ".self::$table;
73
+        $query = "SELECT * FROM " . self::$table;
74 74
         $results = Connection::db()->query($query);
75 75
         $res = [];
76 76
 
Please login to merge, or discard this patch.