mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
feat: STUBS!
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Database\Eloquent\Relations;
|
||||
|
||||
/**
|
||||
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
|
||||
* @extends MorphOneOrMany<TRelatedModel>
|
||||
*/
|
||||
class MorphMany extends MorphOneOrMany
|
||||
{
|
||||
/**
|
||||
* @param array<model-property<TRelatedModel>, mixed> $attributes
|
||||
*
|
||||
* @phpstan-return TRelatedModel
|
||||
*/
|
||||
public function create(array $attributes = []);
|
||||
|
||||
/**
|
||||
* Get the results of the relationship.
|
||||
*
|
||||
* @phpstan-return \Illuminate\Database\Eloquent\Collection<TRelatedModel>
|
||||
*/
|
||||
public function getResults();
|
||||
}
|
Reference in New Issue
Block a user