Skip to content

Commit

Permalink
Merge pull request #234 from neildaniels/php-8-fixes
Browse files Browse the repository at this point in the history
PHP 8 Fixes
  • Loading branch information
wtfzdotnet authored Apr 15, 2021
2 parents 8a36349 + d2ee2cc commit 701806e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Tmdb/Factory/AbstractFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ protected function createGenericCollection(array $data = [], AbstractModel $clas
* @return GenericCollection
*/
protected function createCustomCollection(
array $data = [],
AbstractModel $class = null,
array $data,
AbstractModel $class,
GenericCollection $collection
) {
if (!$class || !$collection) {
Expand Down

0 comments on commit 701806e

Please sign in to comment.