Skip to content

Commit

Permalink
Merge pull request #34 from ahoiroman/patch-1
Browse files Browse the repository at this point in the history
Fixes PHP-notice
  • Loading branch information
freekmurze authored Dec 1, 2021
2 parents 5b1db07 + 90114eb commit ed43644
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function getIterator(): ArrayIterator
return new ArrayIterator($this->transform(TransformationType::withoutValueTransforming()));
}

public function count()
public function count(): int
{
return count($this->items);
}
Expand Down

0 comments on commit ed43644

Please sign in to comment.