@@ -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 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | string $description = '' |
53 | 53 | ): bool { |
54 | 54 | try { |
55 | - $publishPostEndpoint = '/' . $this->pageId. '/feed'; |
|
55 | + $publishPostEndpoint = '/' . $this->pageId . '/feed'; |
|
56 | 56 | $response = $this->facebook->post($publishPostEndpoint, $this->prepareParams($message, $link, $pictureLink, $caption, $description)); |
57 | 57 | $post = $response->getGraphNode(); |
58 | 58 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace MartinGeorgiev\SocialPost\Provider\Twitter; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace MartinGeorgiev\SocialPost\DependencyInjection\Compiler; |
6 | 6 |
@@ -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 | |
@@ -24,7 +24,7 @@ discard block |
||
24 | 24 | public function load(array $configs, ContainerBuilder $container) |
25 | 25 | { |
26 | 26 | $configuration = $this->processConfiguration(new Configuration(), $configs); |
27 | - $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
27 | + $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
28 | 28 | $loader->load('services.yml'); |
29 | 29 | |
30 | 30 | $container->setParameter('social_post.configuration.publish_on', $configuration['publish_on']); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace MartinGeorgiev\SocialPost; |
6 | 6 |