2020-04-29 00:25:24 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @template TModel of \Illuminate\Database\Eloquent\Model
|
|
|
|
* @template TNameOrCountOrNull of string|int|null
|
|
|
|
* @template TCountOrNull of int|null
|
|
|
|
*
|
|
|
|
* @param class-string<TModel> $modelClassName
|
|
|
|
* @param TNameOrCountOrNull $nameOrCount
|
|
|
|
* @param TCountOrNull $count
|
|
|
|
*
|
|
|
|
* @return (
|
|
|
|
TCountOrNull is int
|
|
|
|
? Illuminate\Database\Eloquent\FactoryBuilder<TModel, TCountOrNull>
|
|
|
|
: (
|
|
|
|
TNameOrCountOrNull is int
|
|
|
|
? Illuminate\Database\Eloquent\FactoryBuilder<TModel, TNameOrCountOrNull>
|
|
|
|
: Illuminate\Database\Eloquent\FactoryBuilder<TModel, 1>
|
|
|
|
)
|
|
|
|
|
|
|
|
)
|
|
|
|
*/
|
|
|
|
function factory(string $modelClassName, $nameOrCount = null, $count = null)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
2020-05-24 09:34:43 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Return a new response from the application.
|
|
|
|
*
|
|
|
|
* @param \Illuminate\View\View|string|array|null $content
|
|
|
|
* @param int $status
|
|
|
|
* @param array $headers
|
|
|
|
* @return \Illuminate\Http\Response|\Illuminate\Contracts\Routing\ResponseFactory
|
|
|
|
* @psalm-return (func_num_args() is 0 ? \Illuminate\Contracts\Routing\ResponseFactory : \Illuminate\Http\Response)
|
|
|
|
*/
|
|
|
|
function response($content = '', $status = 200, array $headers = [])
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|