Code cleanup for facades

This commit is contained in:
DaneEveritt 2022-06-18 12:07:32 -04:00
parent 6ffe5730da
commit 92c1c162af
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 14 additions and 211 deletions

View file

@ -3,22 +3,8 @@
namespace Pterodactyl\Facades;
use Illuminate\Support\Facades\Facade;
use Illuminate\Database\Eloquent\Model;
use Pterodactyl\Services\Activity\ActivityLogService;
/**
* @method static ActivityLogService anonymous()
* @method static ActivityLogService event(string $action)
* @method static ActivityLogService description(?string $description)
* @method static ActivityLogService subject(Model|Model[] $subject)
* @method static ActivityLogService actor(Model $actor)
* @method static ActivityLogService withRequestMetadata()
* @method static ActivityLogService property(string|array $key, mixed $value = null)
* @method static \Pterodactyl\Models\ActivityLog log(string $description = null)
* @method static ActivityLogService clone()
* @method static void reset()
* @method static mixed transaction(\Closure $callback)
*/
class Activity extends Facade
{
protected static function getFacadeAccessor()