Skip to content

Commit 66f0294

Browse files
authored
Correct whenInactive sentence (#8548)
1 parent 3ebb717 commit 66f0294

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pennant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Route::get('/api/servers', function () {
302302
<a name="customizing-the-response"></a>
303303
#### Customizing The Response
304304

305-
If you would like to customize the response that is returned by the middleware when one of the listed features is inactive, you may use the `whenInvalid` method provided by the `EnsureFeaturesAreActive` middleware. Typically, this method should be invoked within the `boot` method of one of your application's service providers:
305+
If you would like to customize the response that is returned by the middleware when one of the listed features is inactive, you may use the `whenInactive` method provided by the `EnsureFeaturesAreActive` middleware. Typically, this method should be invoked within the `boot` method of one of your application's service providers:
306306

307307
```php
308308
use Illuminate\Http\Request;

0 commit comments

Comments
 (0)