Passed
Push — main ( 759769...5f612e )
by Andrey
04:04 queued 01:26
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/Traits/UserAgent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
 
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/Traits/Header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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
 
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.