mirror of
https://github.com/flarum/core.git
synced 2025-08-16 05:14:20 +02:00
feat: STUBS!
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Database\Eloquent\Relations;
|
||||
|
||||
/**
|
||||
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
|
||||
* @template TChildModel of \Illuminate\Database\Eloquent\Model
|
||||
* @extends Relation<TRelatedModel>
|
||||
*/
|
||||
class BelongsTo extends Relation
|
||||
{
|
||||
/** @phpstan-return TChildModel */
|
||||
public function associate();
|
||||
|
||||
/** @phpstan-return TChildModel */
|
||||
public function dissociate();
|
||||
|
||||
/** @phpstan-return TChildModel */
|
||||
public function getChild();
|
||||
|
||||
/**
|
||||
* Get the results of the relationship.
|
||||
*
|
||||
* @phpstan-return ?TRelatedModel
|
||||
*/
|
||||
public function getResults();
|
||||
}
|
Reference in New Issue
Block a user