Completed
Push — feature/add-linkedin-support ( 10a61c...1d03cb )
by Martin
02:46
created
src/MartinGeorgiev/SocialPost/Provider/Facebook/SDK5.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace MartinGeorgiev\SocialPost\Provider\Facebook;
6 6
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         }
64 64
 
65 65
         try {
66
-            $publishPostEndpoint = '/' . $this->pageId. '/feed';
66
+            $publishPostEndpoint = '/' . $this->pageId . '/feed';
67 67
             $response = $this->facebook->post(
68 68
                 $publishPostEndpoint,
69 69
                 $this->prepareParams($message)
Please login to merge, or discard this patch.
src/MartinGeorgiev/SocialPost/Provider/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace MartinGeorgiev\SocialPost\Provider;
6 6
 
Please login to merge, or discard this patch.
src/MartinGeorgiev/SocialPost/Provider/LinkedIn/HappyrLinkedInApiClient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace MartinGeorgiev\SocialPost\Provider\LinkedIn;
6 6
 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         }
64 64
 
65 65
         try {
66
-            $publishShareEndpoint = 'v1/companies/' . $this->pageId. '/shares';
66
+            $publishShareEndpoint = 'v1/companies/' . $this->pageId . '/shares';
67 67
             $options = ['json' => $this->prepareShare($message)];
68 68
             $share = $this->linkedIn->post($publishShareEndpoint, $options);
69 69
 
Please login to merge, or discard this patch.