Passed
Push — feature/hr-portal ( 430318...54a87b )
by Tristan
11:31
created
app/Models/JobPoster.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -566,7 +566,7 @@
 block discarded – undo
566 566
             return 1; // Draft.
567 567
         } elseif ($this->published_at === null) {
568 568
             return 2; // Review requested, but not approved.
569
-        } elseif ($this->open_date_time === null || $this->open_date_time >$now) {
569
+        } elseif ($this->open_date_time === null || $this->open_date_time > $now) {
570 570
             return 3; // Approved, but not open.
571 571
         } elseif ($this->close_date_time === null || $this->close_date_time > $now) {
572 572
             // Approved and currently open.
Please login to merge, or discard this patch.