Skip to content

Commit df6b238

Browse files
author
Jay Gadi
committed
remove banned words
1 parent 1b3ed3d commit df6b238

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

readme.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ ROLLOUT_TABLE=rollout
4848
### Implementing Interfaces
4949

5050
##### User
51+
5152
Your rollout users must implement the `\Jaspaul\LaravelRollout\Contracts\User` interface. Often this will be your main user object:
5253

5354
```php
@@ -68,6 +69,7 @@ class User implements Contract
6869
```
6970

7071
#### Group
72+
7173
Your rollout groups must implement the `\Jaspaul\LaravelRollout\Contracts\Group` interface.
7274

7375
```php
@@ -106,6 +108,7 @@ class BetaUsersGroup implements Group
106108
and you should update your local `laravel-rollout.php` configuration to include the group in the groups array:
107109

108110
`laravel-rollout.php`
111+
109112
```php
110113
return [
111114
...
@@ -140,7 +143,7 @@ Swap `{feature}` with the name of the feature you'd like to create a feature fla
140143

141144
`php artisan rollout:deactivate {feature}`
142145

143-
Swap `{feature}` with the name of the feature you'd like to deactivate globally. Note this will also reset the user whitelist.
146+
Swap `{feature}` with the name of the feature you'd like to deactivate globally. Note this will also reset the user allowlist.
144147

145148
### Delete
146149

src/FeaturePresenter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FeaturePresenter
1515
'all' => 'Active for everyone.',
1616
'request_param' => 'Active with a request parameter.',
1717
'percentage' => 'Active via percentage rollout.',
18-
'whitelist' => 'Active via group or user whitelist.',
18+
'allowlist' => 'Active via group or user allowlist.',
1919
'disabled' => 'Deactivated globally.'
2020
];
2121

@@ -69,7 +69,7 @@ public function getDisplayStatus() : string
6969
}
7070

7171
if (count($this->feature->getGroups()) > 0 || count($this->feature->getUsers()) > 0) {
72-
return self::$statuses['whitelist'];
72+
return self::$statuses['allowlist'];
7373
}
7474

7575
return self::$statuses['disabled'];

0 commit comments

Comments
 (0)