Passed
Push — develop ( 88f9b7...d90dee )
by nguereza
02:11
created
src/Rule/DateBefore.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class DateBefore implements RuleInterface
53
-{
52
+class DateBefore implements RuleInterface {
54 53
     /**
55 54
      * The date to compare against
56 55
      * @var string
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * @param string $date the date format
69 68
      * @param bool $include
70 69
      */
71
-    public function __construct(string $date, bool $include = false)
72
-    {
70
+    public function __construct(string $date, bool $include = false) {
73 71
         $this->date = $date;
74 72
         $this->include = $include;
75 73
     }
Please login to merge, or discard this patch.
src/Rule/DateAfter.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -49,8 +49,7 @@  discard block
 block discarded – undo
49 49
 use Platine\Validator\RuleInterface;
50 50
 use Platine\Validator\Validator;
51 51
 
52
-class DateAfter implements RuleInterface
53
-{
52
+class DateAfter implements RuleInterface {
54 53
     /**
55 54
      * The date to compare against
56 55
      * @var string
@@ -68,8 +67,7 @@  discard block
 block discarded – undo
68 67
      * @param string $date the date format
69 68
      * @param bool $include
70 69
      */
71
-    public function __construct(string $date, bool $include = false)
72
-    {
70
+    public function __construct(string $date, bool $include = false) {
73 71
         $this->date = $date;
74 72
         $this->include = $include;
75 73
     }
Please login to merge, or discard this patch.