Skip to content

Commit 701806e

Browse files
authored
Merge pull request #234 from neildaniels/php-8-fixes
PHP 8 Fixes
2 parents 8a36349 + d2ee2cc commit 701806e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Tmdb/Factory/AbstractFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,8 @@ protected function createGenericCollection(array $data = [], AbstractModel $clas
237237
* @return GenericCollection
238238
*/
239239
protected function createCustomCollection(
240-
array $data = [],
241-
AbstractModel $class = null,
240+
array $data,
241+
AbstractModel $class,
242242
GenericCollection $collection
243243
) {
244244
if (!$class || !$collection) {

0 commit comments

Comments
 (0)