1
0
mirror of https://github.com/flarum/core.git synced 2025-07-16 06:16:23 +02:00
Files
php-flarum/php-packages/phpstan/stubs/Illuminate/Database/MorphOneOrMany.stub
Matthew Kilgore 05aa62f70c feat: STUBS!
2021-12-01 17:36:36 -05:00

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 = []);
}