Completed
Push — master ( da8fd8...64e679 )
by Ashley
03:32
created
src/Models/Invite.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     protected $dates = [ 'valid_until' ];
10 10
     
11
-    public function __construct(array $attributes = [])
11
+    public function __construct(array $attributes = [ ])
12 12
     {
13 13
         $this->table = config('doorman.invite_table_name');
14 14
         parent::__construct($attributes);
@@ -16,14 +16,14 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function hasExpired()
18 18
     {
19
-        if(is_null($this->valid_until)) return false;
19
+        if (is_null($this->valid_until)) return false;
20 20
 
21 21
         return $this->valid_until->isPast();
22 22
     }
23 23
 
24 24
     public function isFull()
25 25
     {
26
-        if($this->max == 0) return false;
26
+        if ($this->max == 0) return false;
27 27
 
28 28
         return $this->uses >= $this->max;
29 29
     }
Please login to merge, or discard this patch.