Skip to content

Commit 73989d5

Browse files
authored
Update README.md
1 parent d42c519 commit 73989d5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Checking for multiple permissions:
345345
if ($user->hasPermissions(['users.create', 'users.edit'])) {
346346
// This user has both creation and edit rights.
347347
} else {
348-
// It looks like the user doesn't have one of the specified permissions.
348+
// The user doesn't have one of the specified permissions.
349349
}
350350
```
351351

@@ -355,7 +355,7 @@ Checking if the user has any permissions:
355355
if ($user->hasAnyPermissions(['users.create', 'users.edit', 'users.destroy'])) {
356356
// This user either has create, edit or destroy permissions.
357357
} else {
358-
// It looks like the user doesn't have any of the specified permissions.
358+
// The user doesn't have any of the specified permissions.
359359
}
360360
```
361361

@@ -365,7 +365,7 @@ Checking if the user has a role:
365365
if ($user->hasRole('administrator')) {
366366
// This user is an administrator.
367367
} else {
368-
// It looks like the user isn't an administrator.
368+
// The user isn't an administrator.
369369
}
370370
```
371371

@@ -375,7 +375,7 @@ Checking if the user has specified roles:
375375
if ($user->hasRoles(['administrator', 'member'])) {
376376
// This user is an administrator and a member.
377377
} else {
378-
// It looks like the user isn't an administrator or member.
378+
// The user isn't an administrator or member.
379379
}
380380
```
381381

@@ -385,7 +385,7 @@ Checking if the user has any specified roles:
385385
if ($user->hasAnyRoles(['administrator', 'member', 'guest'])) {
386386
// This user is either an administrator, member or guest.
387387
} else {
388-
// It looks like the user doesn't have any of these roles.
388+
// The user doesn't have any of these roles.
389389
}
390390
```
391391

0 commit comments

Comments
 (0)