@@ -195,7 +195,7 @@ |
||
195 | 195 | } |
196 | 196 | |
197 | 197 | $query = collect(); |
198 | - $query->put('fields','members'); |
|
198 | + $query->put('fields', 'members'); |
|
199 | 199 | |
200 | 200 | $options->put('query', $query); |
201 | 201 |
@@ -156,12 +156,12 @@ discard block |
||
156 | 156 | $query = Collection::wrap($options->get('query')); |
157 | 157 | |
158 | 158 | foreach ($this->getDefaultOptions() as $key => $option) { |
159 | - if($query->has($key) === FALSE) { |
|
159 | + if ($query->has($key) === FALSE) { |
|
160 | 160 | $query->put($key, $option); |
161 | 161 | } |
162 | 162 | } |
163 | 163 | |
164 | - $options->put('query',$query); |
|
164 | + $options->put('query', $query); |
|
165 | 165 | |
166 | 166 | return $options; |
167 | 167 | } |
@@ -199,7 +199,7 @@ discard block |
||
199 | 199 | private function buildCahceOptions($method) |
200 | 200 | { |
201 | 201 | if (config('battlenet-api.cache', TRUE)) { |
202 | - if($this->options->has('cache') === FALSE) { |
|
202 | + if ($this->options->has('cache') === FALSE) { |
|
203 | 203 | // We don't have any cache options yet, build it from ground up. |
204 | 204 | $cacheOptions = collect(); |
205 | 205 | |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $cacheOptions->put('uniqKey', implode('.', [$this->cacheKey, $cacheOptions->get('method')])); |
208 | 208 | $cacheOptions->put('duration', config('battlenet-api.cache_duration', 600)); |
209 | 209 | |
210 | - $this->options->put('cache',$cacheOptions); |
|
210 | + $this->options->put('cache', $cacheOptions); |
|
211 | 211 | } |
212 | 212 | } |
213 | 213 | } |