Completed
Push — master ( c13ec5...2a4360 )
by Stephen
05:47 queued 03:28
created
src/Models/Thread.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     public $thread_id;
13 13
     public $thread_replies;
14 14
     public $thread_views;
15
-    public $original_poster=[];
15
+    public $original_poster = [];
16 16
     public $original_post = [];
17 17
     public $recent_poster = [];
18 18
     public $recent_post;
Please login to merge, or discard this patch.
src/Models/Store.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function __construct(array $data, $className, $dataRoot, $idName)
29 29
     {
30
-        $this->className = 'StarCitizen\Models' . $className;
30
+        $this->className = 'StarCitizen\Models'.$className;
31 31
         foreach ($data as $item) {
32 32
 
33 33
             // Check the data root and idName are good
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             $id = ($idName == '' ? null : $objectData[$idName]);
36 36
 
37 37
             // create the appropriate class and add it to items
38
-            $storageObject = new \ReflectionClass('StarCitizen\Models' . $className);
38
+            $storageObject = new \ReflectionClass('StarCitizen\Models'.$className);
39 39
             $this->offsetSet($id, $storageObject->newInstance($objectData));
40 40
         }
41 41
     }
Please login to merge, or discard this patch.
src/Models/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,6 +38,6 @@
 block discarded – undo
38 38
             return call_user_func([$this, $name]);
39 39
         }
40 40
 
41
-        throw new \Exception('Property ' . $name . ' does not exist in this class');
41
+        throw new \Exception('Property '.$name.' does not exist in this class');
42 42
     }
43 43
 }
44 44
\ No newline at end of file
Please login to merge, or discard this patch.
src/Client/StarCitizensClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * Base url
17 17
      */
18
-    const APIURL =  "http://sc-api.com";
18
+    const APIURL = "http://sc-api.com";
19 19
 
20 20
     /**
21 21
      * @var Client
Please login to merge, or discard this patch.
src/StarCitizens.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,11 +141,11 @@
 block discarded – undo
141 141
     private function fillModel($model, $fillData)
142 142
     {
143 143
         if (is_array($model)) {
144
-            list($className, $dataRoot, $idName) =$model;
144
+            list($className, $dataRoot, $idName) = $model;
145 145
             $object = new \ReflectionClass('StarCitizen\Models\Store');
146 146
             return $object->newInstance($fillData, $className, $dataRoot, $idName);
147 147
         } else {
148
-            $object = new \ReflectionClass('StarCitizen\Models' . $model);
148
+            $object = new \ReflectionClass('StarCitizen\Models'.$model);
149 149
             return $object->newInstance($fillData);
150 150
         }
151 151
     }
Please login to merge, or discard this patch.