Completed
Branch master (d2e345)
by Alexpts
07:51
created
src/PTS/TypeCast/Types/DateTimeType.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 
6 6
 class DateTimeType
7 7
 {
8
-   public function __invoke($value): \DateTime
9
-   {
10
-       return new \DateTime($value);
11
-   }
8
+    public function __invoke($value): \DateTime
9
+    {
10
+        return new \DateTime($value);
11
+    }
12 12
 }
Please login to merge, or discard this patch.
src/PTS/TypeCast/TypeCast.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      */
58 58
     protected function setType(string $type): callable
59 59
     {
60
-        return function ($value) use ($type) {
60
+        return function($value) use ($type) {
61 61
             settype($value, $type);
62 62
 
63 63
             return $value;
Please login to merge, or discard this patch.