@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function get($endpoint) |
48 | 48 | { |
49 | - $request = new Request($this->domain . '/' . $endpoint); |
|
49 | + $request = new Request($this->domain.'/'.$endpoint); |
|
50 | 50 | |
51 | 51 | // Add client secret header |
52 | 52 | if (isset($config['secret'])) { |
@@ -40,10 +40,10 @@ |
||
40 | 40 | */ |
41 | 41 | protected function getEndpointUrl($path, $withTrailingSlash) |
42 | 42 | { |
43 | - $url = $this->endpoint . '/' . $path; |
|
43 | + $url = $this->endpoint.'/'.$path; |
|
44 | 44 | |
45 | 45 | if ($withTrailingSlash) { |
46 | - $url = $url . '/'; |
|
46 | + $url = $url.'/'; |
|
47 | 47 | } |
48 | 48 | |
49 | 49 | return $url; |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | // which simply lets the developers tweak the attribute as it is set on |
62 | 62 | // the model, such as "json_encoding" an listing of data for storage. |
63 | 63 | if ($this->hasSetMutator($key)) { |
64 | - $method = 'set' . studly_case($key) . 'Attribute'; |
|
64 | + $method = 'set'.studly_case($key).'Attribute'; |
|
65 | 65 | |
66 | 66 | return $this->{$method}($value); |
67 | 67 | } |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function hasSetMutator($key) |
80 | 80 | { |
81 | - return method_exists($this, 'set' . studly_case($key) . 'Attribute'); |
|
81 | + return method_exists($this, 'set'.studly_case($key).'Attribute'); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | // First we will check for the presence of a mutator for the set operation |
112 | 112 | // which simply lets the developers tweak the attribute as it is set. |
113 | 113 | if ($this->hasGetMutator($key)) { |
114 | - $method = 'get' . studly_case($key) . 'Attribute'; |
|
114 | + $method = 'get'.studly_case($key).'Attribute'; |
|
115 | 115 | |
116 | 116 | return $this->{$method}($value); |
117 | 117 | } |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | */ |
141 | 141 | public function hasGetMutator($key) |
142 | 142 | { |
143 | - return method_exists($this, 'get' . studly_case($key) . 'Attribute'); |
|
143 | + return method_exists($this, 'get'.studly_case($key).'Attribute'); |
|
144 | 144 | } |
145 | 145 | |
146 | 146 | /** |