Completed
Push — master ( a15c05...43dee4 )
by Stephen
03:34
created
src/Client/StarCitizensClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 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
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function getResult($params = [])
46 46
     {
47
-        $request = new Request("GET", '?'.http_build_query($params));
47
+        $request = new Request("GET", '?' . http_build_query($params));
48 48
         return $this->client->send($request);
49 49
     }
50 50
 }
51 51
\ No newline at end of file
Please login to merge, or discard this patch.
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/Examples/ExtensionExample.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function isRedditor($redditUsername)
27 27
     {
28
-        if (preg_match("%^((https?://)|reddit.com/u(ser)?/" . $redditUsername . "/?\s*(<br />)?\\n%i",$this->bio) == 1) {
28
+        if (preg_match("%^((https?://)|reddit.com/u(ser)?/" . $redditUsername . "/?\s*(<br />)?\\n%i", $this->bio) == 1) {
29 29
             return true;
30 30
         }
31 31
 
Please login to merge, or discard this patch.
src/StarCitizens.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             if ($argumentCount == 0)
52 52
                 throw new \InvalidArgumentException("Requires an argument");
53 53
 
54
-            if ($argumentCount > 0 && $argumentCount< 2)
54
+            if ($argumentCount > 0 && $argumentCount < 2)
55 55
                 return $this->find($arguments[0], $name, $this->systems[$name]['base_action']);
56 56
 
57 57
             if ($argumentCount == 2) {
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
                     $profileType = $this->systems[$name]['base_action'];
61 61
                 return $this->find($id, $name, $profileType);
62 62
             }
63
-            if ($argumentCount == 4 ) {
63
+            if ($argumentCount == 4) {
64 64
                 list($id, $profileType, $cache, $raw) = $arguments;
65 65
                 return $this->find($id, $name, $profileType, $cache, $raw);
66 66
             } else {
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     private function fillModel($model, $fillData)
162 162
     {
163 163
         if (is_array($model)) {
164
-            list($className, $dataRoot, $idName) =$model;
164
+            list($className, $dataRoot, $idName) = $model;
165 165
             $object = new \ReflectionClass('StarCitizen\Models\Store');
166 166
             return $object->newInstance($fillData, $className, $dataRoot, $idName);
167 167
         } else {
Please login to merge, or discard this patch.