@@ -1,6 +1,6 @@ discard block |
||
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 |
||
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) |
@@ -1,6 +1,6 @@ discard block |
||
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 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | } |
66 | 66 | |
67 | 67 | try { |
68 | - $publishShareEndpoint = 'v1/companies/' . $this->companyPageId. '/shares'; |
|
68 | + $publishShareEndpoint = 'v1/companies/' . $this->companyPageId . '/shares'; |
|
69 | 69 | $options = ['json' => $this->prepareShare($message)]; |
70 | 70 | $share = $this->linkedIn->post($publishShareEndpoint, $options); |
71 | 71 |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace MartinGeorgiev\SocialPost\DependencyInjection; |
6 | 6 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | public function load(array $configs, ContainerBuilder $container) |
40 | 40 | { |
41 | 41 | $this->container = $container; |
42 | - $this->loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config/service')); |
|
42 | + $this->loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config/service')); |
|
43 | 43 | $this->configuration = $this->processConfiguration(new Configuration(), $configs); |
44 | 44 | |
45 | 45 | $this->container->setParameter('social_post.configuration.publish_on', $this->configuration['publish_on']); |