Completed
Push — scalar-types/theme ( 71f30c )
by Kamil
21:15
created
src/Sylius/Bundle/ThemeBundle/Model/Theme.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\Model;
15 15
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * {@inheritdoc}
102 102
      */
103
-    public function setTitle(?string $title): void
103
+    public function setTitle(?string $title) : void
104 104
     {
105 105
         $this->title = $title;
106 106
     }
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     /**
117 117
      * {@inheritdoc}
118 118
      */
119
-    public function setDescription(?string $description): void
119
+    public function setDescription(?string $description) : void
120 120
     {
121 121
         $this->description = $description;
122 122
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Model/ThemeAuthor.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\Model;
15 15
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * {@inheritdoc}
51 51
      */
52
-    public function setName(?string $name): void
52
+    public function setName(?string $name) : void
53 53
     {
54 54
         $this->name = $name;
55 55
     }
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
     /**
66 66
      * {@inheritdoc}
67 67
      */
68
-    public function setEmail(?string $email): void
68
+    public function setEmail(?string $email) : void
69 69
     {
70 70
         $this->email = $email;
71 71
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
     /**
82 82
      * {@inheritdoc}
83 83
      */
84
-    public function setHomepage(?string $homepage): void
84
+    public function setHomepage(?string $homepage) : void
85 85
     {
86 86
         $this->homepage = $homepage;
87 87
     }
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     /**
98 98
      * {@inheritdoc}
99 99
      */
100
-    public function setRole(?string $role): void
100
+    public function setRole(?string $role) : void
101 101
     {
102 102
         $this->role = $role;
103 103
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Model/ThemeScreenshot.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\Model;
15 15
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     /**
61 61
      * @param string|null $title
62 62
      */
63
-    public function setTitle(?string $title): void
63
+    public function setTitle(?string $title) : void
64 64
     {
65 65
         $this->title = $title;
66 66
     }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     /**
77 77
      * @param string|null $description
78 78
      */
79
-    public function setDescription(?string $description): void
79
+    public function setDescription(?string $description) : void
80 80
     {
81 81
         $this->description = $description;
82 82
     }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Templating/Locator/CachedTemplateLocator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\Templating\Locator;
15 15
 
@@ -70,6 +70,6 @@  discard block
 block discarded – undo
70 70
      */
71 71
     private function getCacheKey(TemplateReferenceInterface $template, ThemeInterface $theme): string
72 72
     {
73
-        return $template->getLogicalName().'|'.$theme->getName();
73
+        return $template->getLogicalName() . '|' . $theme->getName();
74 74
     }
75 75
 }
Please login to merge, or discard this patch.
Bundle/ThemeBundle/Templating/Cache/Warmer/TemplatePathsCacheWarmer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\Templating\Cache\Warmer;
15 15
 
@@ -120,6 +120,6 @@  discard block
 block discarded – undo
120 120
      */
121 121
     private function getCacheKey(TemplateReferenceInterface $template, ThemeInterface $theme): string
122 122
     {
123
-        return $template->getLogicalName().'|'.$theme->getName();
123
+        return $template->getLogicalName() . '|' . $theme->getName();
124 124
     }
125 125
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/DependencyInjection/SyliusThemeExtension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Bundle\ThemeBundle\DependencyInjection;
15 15
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     public function load(array $config, ContainerBuilder $container): void
42 42
     {
43 43
         $config = $this->processConfiguration($this->getConfiguration([], $container), $config);
44
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
44
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
45 45
         $loader->load('services.xml');
46 46
 
47 47
         if ($config['assets']['enabled']) {
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     public function prepend(ContainerBuilder $container): void
70 70
     {
71
-        $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
71
+        $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
72 72
 
73 73
         $this->prependTwig($container, $loader);
74 74
     }
Please login to merge, or discard this patch.