mirror of
https://github.com/flarum/core.git
synced 2025-08-29 11:00:12 +02:00
feat: STUBS!
This commit is contained in:
30
php-packages/phpstan/stubs/Illuminate/Facades.stub
Normal file
30
php-packages/phpstan/stubs/Illuminate/Facades.stub
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Support\Facades;
|
||||
|
||||
abstract class Facade {}
|
||||
|
||||
/**
|
||||
* @mixin \Redis
|
||||
* @mixin \Illuminate\Redis\RedisManager
|
||||
* @mixin \Illuminate\Contracts\Redis\Factory
|
||||
*/
|
||||
class Redis {}
|
||||
|
||||
/**
|
||||
* @mixin \Illuminate\Database\DatabaseManager
|
||||
* @mixin \Illuminate\Database\Connection
|
||||
* @mixin \Illuminate\Database\ConnectionInterface
|
||||
*/
|
||||
class DB extends Facade {}
|
||||
|
||||
/**
|
||||
* @mixin \Illuminate\Queue\QueueManager
|
||||
* @mixin \Illuminate\Queue\Queue
|
||||
*/
|
||||
class Queue extends Facade {}
|
||||
|
||||
/**
|
||||
* @mixin \Illuminate\Log\Logger
|
||||
*/
|
||||
class Log extends Facade {}
|
Reference in New Issue
Block a user