Skip to content

Improve grammar and clarity in gate behavior description #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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
```
```