Passed
Push — main ( c781ad...27cc88 )
by Andrey
03:32
created
src/TikTokServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Models/UserInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Models/TagInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/Traits/Header.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.