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:
@ -257,7 +257,7 @@ abstract class AbstractModel extends Eloquent
|
||||
}
|
||||
|
||||
/**
|
||||
* @param Collection|array $models
|
||||
* @param \Illuminate\Support\Collection|array $models
|
||||
*/
|
||||
public function newCollection($models = [])
|
||||
{
|
||||
|
Reference in New Issue
Block a user