mirror of
https://github.com/flarum/core.git
synced 2025-08-09 09:57:06 +02:00
feat: STUBS!
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?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 = []);
|
||||
}
|
Reference in New Issue
Block a user