Skip to content

Commit

Permalink
fix incorrect use of count to strlen
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrawley committed Mar 16, 2018
1 parent 8ab1081 commit 8e0256b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function get() : string
*/
public function has() : bool
{
return $this->value !== null && count($this->value) > 0;
return $this->value !== null && strlen($this->value) > 0;
}

/**
Expand Down

0 comments on commit 8e0256b

Please sign in to comment.