Don't use is_null
This commit is contained in:
@@ -62,6 +62,6 @@ class Invite extends Model
|
||||
*/
|
||||
public function claimed()
|
||||
{
|
||||
return !is_null($this->claimed_at);
|
||||
return $this->claimed_at !== null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ class Subscriber extends Model implements HasPresenter
|
||||
*/
|
||||
public function verified()
|
||||
{
|
||||
return !is_null($this->verified_at);
|
||||
return $this->verified_at !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user