@@ -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 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function getUserAgent() |
| 24 | 24 | { |
| 25 | - if (! $this->userAgent) { |
|
| 25 | + if (!$this->userAgent) { |
|
| 26 | 26 | $this->userAgent = config('tiktok.user_agent'); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -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, |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | public function setHeaders($addition_headers) |
| 14 | 14 | { |
| 15 | - if (is_array($addition_headers) && ! empty($addition_headers)) { |
|
| 15 | + if (is_array($addition_headers) && !empty($addition_headers)) { |
|
| 16 | 16 | $this->headers = array_merge($this->headers, $addition_headers); |
| 17 | 17 | } |
| 18 | 18 | |
@@ -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, |