Completed
Push — scalar-types/resource ( 4814fd )
by Kamil
23:02
created
src/Sylius/Component/Resource/Model/TranslatableTrait.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\Component\Resource\Model;
15 15
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      *
62 62
      * @return TranslationInterface
63 63
      */
64
-    public function getTranslation(?string $locale = null): TranslationInterface
64
+    public function getTranslation(?string $locale = null) : TranslationInterface
65 65
     {
66 66
         $locale = $locale ?: $this->currentLocale;
67 67
         if (null === $locale) {
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/ToggleableTrait.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\Component\Resource\Model;
15 15
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     /**
35 35
      * @param bool $enabled
36 36
      */
37
-    public function setEnabled(?bool $enabled): void
37
+    public function setEnabled(?bool $enabled) : void
38 38
     {
39 39
         $this->enabled = (bool) $enabled;
40 40
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TimestampableTrait.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\Component\Resource\Model;
15 15
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * @param \DateTimeInterface|null $createdAt
41 41
      */
42
-    public function setCreatedAt(?\DateTimeInterface $createdAt): void
42
+    public function setCreatedAt(?\DateTimeInterface $createdAt) : void
43 43
     {
44 44
         $this->createdAt = $createdAt;
45 45
     }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * @param \DateTimeInterface|null $updatedAt
57 57
      */
58
-    public function setUpdatedAt(?\DateTimeInterface $updatedAt): void
58
+    public function setUpdatedAt(?\DateTimeInterface $updatedAt) : void
59 59
     {
60 60
         $this->updatedAt = $updatedAt;
61 61
     }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Metadata/Metadata.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\Component\Resource\Metadata;
15 15
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getAlias(): string
81 81
     {
82
-        return $this->applicationName.'.'.$this->name;
82
+        return $this->applicationName . '.' . $this->name;
83 83
     }
84 84
 
85 85
     /**
Please login to merge, or discard this patch.