Skip to content

Commit

Permalink
Update StreamAcl.php
Browse files Browse the repository at this point in the history
  • Loading branch information
prolic committed Jul 18, 2019
1 parent 0b7d901 commit aea8b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StreamAcl.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function __construct(
) {
$check = function (array $data): void {
foreach ($data as $value) {
if (! \is_string($value) || '' === $value) {
if (! \is_string($value)) {
throw new InvalidArgumentException('Invalid roles given, expected an array of strings');
}
}
Expand Down

0 comments on commit aea8b52

Please sign in to comment.