From 3b35c3655c03a070e0813ece3c0c5adf73c75973 Mon Sep 17 00:00:00 2001 From: antonkomarev Date: Tue, 11 Jun 2019 17:53:41 +0300 Subject: [PATCH] Add Gate Facade methods hints --- src/Illuminate/Support/Facades/Gate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Illuminate/Support/Facades/Gate.php b/src/Illuminate/Support/Facades/Gate.php index 01a8519fada2..ba6d9c4af50f 100644 --- a/src/Illuminate/Support/Facades/Gate.php +++ b/src/Illuminate/Support/Facades/Gate.php @@ -15,6 +15,7 @@ * @method static bool check(iterable|string $abilities, array|mixed $arguments = []) * @method static bool any(iterable|string $abilities, array|mixed $arguments = []) * @method static \Illuminate\Auth\Access\Response authorize(string $ability, array|mixed $arguments = []) + * @method static mixed raw(string $ability, array|mixed $arguments = []) * @method static mixed getPolicyFor(object|string $class) * @method static \Illuminate\Contracts\Auth\Access\Gate forUser(\Illuminate\Contracts\Auth\Authenticatable|mixed $user) * @method static array abilities()