1
0
mirror of https://github.com/flarum/core.git synced 2025-06-21 10:21:13 +02:00

fix(regression): newCollection does not accept base collection

Signed-off-by: Sami Mazouz <sychocouldy@gmail.com>
This commit is contained in:
Sami Mazouz
2023-05-16 19:25:23 +01:00
parent f1f6051deb
commit c7c86a77e9

View File

@ -257,7 +257,7 @@ abstract class AbstractModel extends Eloquent
}
/**
* @param Collection|array $models
* @param \Illuminate\Support\Collection|array $models
*/
public function newCollection($models = [])
{