From 8e37c2b8d8d6e3cc82a7353413444acf590a3f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Wed, 19 Dec 2018 22:50:52 +0100 Subject: [PATCH] updated constraint for 5.7 (#1698) --- framework/core/composer.json | 29 ++++++++++++++--------------- framework/core/src/User/Gate.php | 12 ++++++++++++ 2 files changed, 26 insertions(+), 15 deletions(-) diff --git a/framework/core/composer.json b/framework/core/composer.json index 7b3be9996..650790462 100644 --- a/framework/core/composer.json +++ b/framework/core/composer.json @@ -26,20 +26,20 @@ "dflydev/fig-cookies": "^1.0.2", "doctrine/dbal": "^2.7", "franzl/whoops-middleware": "^0.4.0", - "illuminate/bus": "5.5.*", - "illuminate/cache": "5.5.*", - "illuminate/config": "5.5.*", - "illuminate/container": "5.5.*", - "illuminate/contracts": "5.5.*", - "illuminate/database": "5.5.*", - "illuminate/events": "5.5.*", - "illuminate/filesystem": "5.5.*", - "illuminate/hashing": "5.5.*", - "illuminate/mail": "5.5.*", - "illuminate/session": "5.5.*", - "illuminate/support": "5.5.*", - "illuminate/validation": "5.5.*", - "illuminate/view": "5.5.*", + "illuminate/bus": "5.7.*", + "illuminate/cache": "5.7.*", + "illuminate/config": "5.7.*", + "illuminate/container": "5.7.*", + "illuminate/contracts": "5.7.*", + "illuminate/database": "5.7.*", + "illuminate/events": "5.7.*", + "illuminate/filesystem": "5.7.*", + "illuminate/hashing": "5.7.*", + "illuminate/mail": "5.7.*", + "illuminate/session": "5.7.*", + "illuminate/support": "5.7.*", + "illuminate/validation": "5.7.*", + "illuminate/view": "5.7.*", "intervention/image": "^2.3.0", "league/flysystem": "^1.0.11", "matthiasmullie/minify": "^1.3", @@ -55,7 +55,6 @@ "s9e/text-formatter": "^1.2.0", "symfony/config": "^3.3", "symfony/console": "^3.3", - "symfony/http-foundation": "^3.3", "symfony/translation": "^3.3", "symfony/yaml": "^3.3", "tobscure/json-api": "^0.3.0", diff --git a/framework/core/src/User/Gate.php b/framework/core/src/User/Gate.php index de6bc9709..73cbfe97d 100644 --- a/framework/core/src/User/Gate.php +++ b/framework/core/src/User/Gate.php @@ -400,4 +400,16 @@ class Gate implements GateContract { // TODO: Implement abilities() method. } + + /** + * Get the raw result from the authorization callback. + * + * @param string $ability + * @param array|mixed $arguments + * @return mixed + */ + public function raw($ability, $arguments = []) + { + // TODO: Implement raw() method. + } }