Completed
Push — master ( 54a589...ba00a5 )
by Klaus
07:44
created
src/Transformer/TransformerInterface.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -5,5 +5,8 @@
 block discarded – undo
5 5
 
6 6
 interface TransformerInterface
7 7
 {
8
+    /**
9
+     * @return null|\DateTime
10
+     */
8 11
     public function transform($value);
9 12
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/InputHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input;
5 5
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function __construct(TypeHandler $typeHandler = null)
31 31
     {
32 32
         $this->root = new BaseNode();
33
-        $this->typeHandler = $typeHandler ?? new TypeHandler();
33
+        $this->typeHandler = $typeHandler ? ? new TypeHandler();
34 34
         $this->root->setTypeHandler($this->typeHandler);
35 35
     }
36 36
 
Please login to merge, or discard this patch.
src/Exception/InvalidConstraintException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Transformer/DateTimeTransformer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Node/ObjectNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Node/NumericNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Node/DateTimeNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Node/ScalarCollectionNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.
src/Node/StringNode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2
-declare(strict_types=1);
2
+declare(strict_types = 1);
3 3
 
4 4
 namespace Linio\Component\Input\Exception;
5 5
 
Please login to merge, or discard this patch.