Completed
Pull Request — master (#2)
by Dawid
06:40 queued 04:26
created
src/Service/ApiVersionFeaturesProvider.php 1 patch
Spacing   +3 added lines, -3 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 Spiechu\SymfonyCommonsBundle\Service;
6 6
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @throws \InvalidArgumentException When feature with given name already exists
37 37
      */
38
-    public function addFeature(string $name, ?string $since, ?string $until): void
38
+    public function addFeature(string $name, ?string $since, ?string $until) : void
39 39
     {
40 40
         $this->assertVersionCompatibleString($since);
41 41
         $this->assertVersionCompatibleString($until);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      *
130 130
      * @throws \InvalidArgumentException When $string is not version compatible
131 131
      */
132
-    protected function assertVersionCompatibleString(?string $string): void
132
+    protected function assertVersionCompatibleString(?string $string) : void
133 133
     {
134 134
         if (null === $string || is_numeric($string)) {
135 135
             return;
Please login to merge, or discard this patch.