Skip to content

Commit 6f03560

Browse files
committed
docs: add () after method names
1 parent 30499c1 commit 6f03560

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/customization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function loginRedirect(): string
7575

7676
### Customize Register Redirect
7777

78-
You can customize where a user is redirected to after registration in the `registerRedirect` method of the `app/Config/Auth.php` config file.
78+
You can customize where a user is redirected to after registration in the `registerRedirect()` method of the `app/Config/Auth.php` config file.
7979

8080
```php
8181
public function registerRedirect(): string
@@ -88,7 +88,7 @@ public function registerRedirect(): string
8888

8989
### Customize Logout Redirect
9090

91-
The logout redirect can also be overridden by the `logoutRedirect` method of the `app/Config/Auth.php` config file. This will not be used as often as login and register, but you might find the need. For example, if you programatically logged a user out you might want to take them to a page that specifies why they were logged out. Otherwise, you might take them to the home page or even the login page.
91+
The logout redirect can also be overridden by the `logoutRedirect()` method of the `app/Config/Auth.php` config file. This will not be used as often as login and register, but you might find the need. For example, if you programatically logged a user out you might want to take them to a page that specifies why they were logged out. Otherwise, you might take them to the home page or even the login page.
9292

9393
```php
9494
public function logoutRedirect(): string

docs/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Note: The example above can also be done through a [controller filter](https://c
214214

215215
### Adding a Group To a User
216216

217-
Groups are assigned to a user via the `addGroup` method. You can pass multiple groups in and they will all be assigned to the user.
217+
Groups are assigned to a user via the `addGroup()` method. You can pass multiple groups in and they will all be assigned to the user.
218218

219219
```php
220220
$user = auth()->user();
@@ -230,7 +230,7 @@ $user->syncGroups('admin', 'beta');
230230

231231
### Removing a Group From a User
232232

233-
Groups are removed from a user via the `removeGroup` method. Multiple groups may be removed at once by passing all of their names into the method.
233+
Groups are removed from a user via the `removeGroup()` method. Multiple groups may be removed at once by passing all of their names into the method.
234234

235235
```php
236236
$user = auth()->user();
@@ -239,7 +239,7 @@ $user->removeGroup('admin', 'beta');
239239

240240
### Checking If User Belongs To a Group
241241

242-
You can check if a user belongs to a group with the `inGroup` method.
242+
You can check if a user belongs to a group with the `inGroup()` method.
243243

244244
```php
245245
$user = auth()->user();

0 commit comments

Comments
 (0)