Completed
Push — master ( 06258d...f8a67c )
by Philip
02:14
created
src/Valdi/Validator/YoungerThan.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,13 +29,13 @@
 block discarded – undo
29 29
      */
30 30
     protected $type = 'youngerThan';
31 31
 
32
-     /**
33
-      * {@inheritdoc}
34
-      */
35
-     protected function compare(\DateTime $date, array $datetimes, array $parameters) {
36
-         $this->validateMinParameterCount($this->type, 1, $parameters);
37
-         $now = new \DateTime();
38
-         return $now->getTimestamp() - $date->getTimestamp() < $parameters[0];
39
-     }
32
+        /**
33
+         * {@inheritdoc}
34
+         */
35
+        protected function compare(\DateTime $date, array $datetimes, array $parameters) {
36
+            $this->validateMinParameterCount($this->type, 1, $parameters);
37
+            $now = new \DateTime();
38
+            return $now->getTimestamp() - $date->getTimestamp() < $parameters[0];
39
+        }
40 40
 
41 41
 }
Please login to merge, or discard this patch.