From e6e76b1ca8b527cae772d95a71b5780ac3b86b2e Mon Sep 17 00:00:00 2001 From: Digvijay Naruka Date: Mon, 24 Mar 2025 12:43:13 +0530 Subject: [PATCH] Fix grammar and clarity in gate behavior description --- src/configuration/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/configuration/index.md b/src/configuration/index.md index 627491c..2ce02e9 100644 --- a/src/configuration/index.md +++ b/src/configuration/index.md @@ -128,8 +128,8 @@ Gate::define('feature', function (?User $user, $feature) { }); ``` -The gate behaviour is different to other gateways in that it will always provide a true or false result. If you put this -gateway before any others their will always be a result meaning gateways after the gate will not be executed. +The gate's behaviour is different from other gateways in that it will always provide a true or false result. If you put this +gateway before any others, there will always be a result, which means that any gateways after this one will not be executed. You can not use the on/off commands to affect the state of the features with this driver. @@ -294,4 +294,4 @@ this will override the `PreventRequestsDuringMaintenance` middleware that alread ```bash php artisan vendor:publish --force --provider="YlsIdeas\FeatureFlags\FeatureFlagsServiceProvider" --tag=maintenance-middleware -``` \ No newline at end of file +```