Skip to content

Commit d2ee2cc

Browse files
committed
Don't have required properties after optional property
1 parent 8a36349 commit d2ee2cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)