1
0
mirror of https://github.com/flarum/core.git synced 2025-08-07 00:47:00 +02:00

feat: STUBS!

This commit is contained in:
Matthew Kilgore
2021-12-01 17:36:36 -05:00
parent c561897f1c
commit 05aa62f70c
35 changed files with 19100 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Illuminate\Database\Eloquent\Relations;
/**
* @template TRelatedModel of \Illuminate\Database\Eloquent\Model
*/
class Relation
{
/**
* Execute the query as a "select" statement.
*
* @param array<int, string> $columns
* @phpstan-return \Illuminate\Database\Eloquent\Collection<TRelatedModel>
*/
public function get($columns = ['*']);
/**
* @param array<model-property<TRelatedModel>, mixed> $attributes
* @phpstan-return TRelatedModel
*/
public function make(array $attributes = []);
}