1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 16:07:34 +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,16 @@
<?php
namespace Illuminate\Contracts\Container;
/** @extends \ArrayAccess<string, mixed> */
interface Container extends \ArrayAccess
{
}
namespace Illuminate\Contracts\Foundation;
interface Application extends \Illuminate\Contracts\Container\Container
{
}

View File

@@ -0,0 +1,17 @@
<?php
namespace Illuminate\Contracts\Pagination;
/**
* @mixin \Illuminate\Support\Collection
* @mixin \Illuminate\Pagination\Paginator
*/
interface Paginator
{}
/**
* @mixin \Illuminate\Support\Collection
* @mixin \Illuminate\Pagination\LengthAwarePaginator
*/
interface LengthAwarePaginator extends Paginator
{}

View File

@@ -0,0 +1,19 @@
<?php
namespace Illuminate\Contracts\Support;
interface Htmlable
{}
interface Arrayable
{
/**
* Get the instance as an array.
*
* @return array<mixed>
*/
public function toArray();
}
interface Jsonable
{}