Skip to content

Commit

Permalink
Remove unnecessary isset() statements
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramakers committed Mar 9, 2022
1 parent 2646b11 commit 2cfb77c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CultureFeed/CultureFeedConsumerAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ public function getName(): ?string

public function isBlocked(): bool
{
return isset($this->cfConsumer->status) && $this->cfConsumer->status === 'BLOCKED';
return $this->cfConsumer->status === 'BLOCKED';
}

public function isRemoved(): bool
{
return isset($this->cfConsumer->status) && $this->cfConsumer->status === 'REMOVED';
return $this->cfConsumer->status === 'REMOVED';
}
}

0 comments on commit 2cfb77c

Please sign in to comment.