@@ -33,7 +33,7 @@ |
||
| 33 | 33 | { |
| 34 | 34 | $this->mergeConfigFrom(__DIR__.'/../config/tiktok.php', 'tiktok'); |
| 35 | 35 | |
| 36 | - $this->app->singleton('tiktok', function () { |
|
| 36 | + $this->app->singleton('tiktok', function() { |
|
| 37 | 37 | return $this->app->make(TikTok::class); |
| 38 | 38 | }); |
| 39 | 39 | |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | $userName = '@'.str_replace('@', '', $userName); |
| 33 | 33 | |
| 34 | - if (! $userName) { |
|
| 34 | + if (!$userName) { |
|
| 35 | 35 | return [ |
| 36 | 36 | 'success' => false, |
| 37 | 37 | 'result' => null, |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | |
| 32 | 32 | $tag = str_replace('#', '', $tag); |
| 33 | 33 | |
| 34 | - if (! $tag) { |
|
| 34 | + if (!$tag) { |
|
| 35 | 35 | return [ |
| 36 | 36 | 'success' => false, |
| 37 | 37 | 'result' => null, |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | */ |
| 14 | 14 | public function setHeaders($addition_headers) |
| 15 | 15 | { |
| 16 | - if (is_array($addition_headers) && ! empty($addition_headers)) { |
|
| 16 | + if (is_array($addition_headers) && !empty($addition_headers)) { |
|
| 17 | 17 | $this->headers = array_merge($this->headers, $addition_headers); |
| 18 | 18 | } |
| 19 | 19 | |
@@ -91,7 +91,7 @@ discard block |
||
| 91 | 91 | */ |
| 92 | 92 | public function getUserAgent() |
| 93 | 93 | { |
| 94 | - if (! $this->userAgent) { |
|
| 94 | + if (!$this->userAgent) { |
|
| 95 | 95 | $this->userAgent = config('tiktok.user_agent'); |
| 96 | 96 | } |
| 97 | 97 | |