mirror of
https://github.com/flarum/framework.git
synced 2025-05-08 12:32:27 +08:00
18 lines
409 B
Plaintext
18 lines
409 B
Plaintext
<?php
|
|
|
|
namespace Illuminate\Database\Eloquent\Relations;
|
|
|
|
/**
|
|
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
|
|
* @extends HasOneOrMany<TRelatedModel>
|
|
*/
|
|
abstract class MorphOneOrMany extends HasOneOrMany
|
|
{
|
|
/**
|
|
* @param array<model-property<TRelatedModel>, mixed> $attributes
|
|
*
|
|
* @phpstan-return TRelatedModel
|
|
*/
|
|
public function create(array $attributes = []);
|
|
}
|