Skip to content

Commit 6830841

Browse files
committed
Update Readme
1 parent f9cce9c commit 6830841

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

README-template.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,22 +206,22 @@ There are also a number of methods you can leverage on the `$vacl` instance:
206206

207207
| Method | Argument | Description |
208208
| ------ | --------- | ----------- |
209-
| `can()` | <code>string[] \| string</code> | Shorthand accessor for `hasAllPermissions()`. |
210-
| `hasAllPermissions()` | <code>string[] \| string</code> | Assert the store has all of the passed permission(s). |
211-
| `hasAnyPermissions()` | <code>string[] \| string</code> | Assert the store has any of the passed permission(s). |
212-
| `missingAllPermissions()` | <code>string[] \| string</code> | Assert the store is missing all of the passed permission(s). |
213-
| `missingAnyPermissions()` | <code>string[] \| string</code> | Assert the store is missing at least 1 of the passed permission(s). |
214-
| `has()` | <code>string[] \| string</code> | Shorthand accessor for `hasAllRoles()`. |
215-
| `hasAllRoles()` | <code>string[] \| string</code> | Assert the store has all of the passed role(s). |
216-
| `hasAnyRoles()` | <code>string[] \| string</code> | Assert the store has any of the passed role(s). |
217-
| `missingAllRoles()` | <code>string[] \| string</code> | Assert the store is missing all of the passed role(s). |
218-
| `missingAnyRoles()` | <code>string[] \| string</code> | Assert the store is missing at least 1 of the passed role(s). |
209+
| `can()` |<code>string[]</code><br/><code>string</code> | Shorthand accessor for `hasAllPermissions()`. |
210+
| `hasAllPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store has all of the passed permission(s). |
211+
| `hasAnyPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store has any of the passed permission(s). |
212+
| `missingAllPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing all of the passed permission(s). |
213+
| `missingAnyPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing at least 1 of the passed permission(s). |
214+
| `has()` |<code>string[]</code><br/><code>string</code> | Shorthand accessor for `hasAllRoles()`. |
215+
| `hasAllRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store has all of the passed role(s). |
216+
| `hasAnyRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store has any of the passed role(s). |
217+
| `missingAllRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing all of the passed role(s). |
218+
| `missingAnyRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing at least 1 of the passed role(s). |
219219
| `getRoles()` | - | Gets the array of currently stored roles. |
220220
| `getPermissions()` | - | Gets the array of currently stored permissions. |
221221
| `setRoles()` | `string[]` | Overwrites the role store with the passed array. |
222222
| `setPermissions()` | `string[]` | Overwrites the permission store with the passed array. |
223-
| `addRoles()` | <code>string[] \| string</code> | Adds the given role(s) to the role store. |
224-
| `addPermissions()` | <code>string \| string[]</code> | Adds the given permission(s) to the permission store. |
223+
| `addRoles()` |<code>string[]</code><br/><code>string</code> | Adds the given role(s) to the role store. |
224+
| `addPermissions()` |<code>string</code><br/><code>string[]</code> | Adds the given permission(s) to the permission store. |
225225
| `clearRoles()` | - | Clears the currently stored roles. |
226226
| `clearPermissions()` | - | Clears the currently stored permissions. |
227227
| `clear()` | - | Clears both the role and permission store. |

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -206,22 +206,22 @@ There are also a number of methods you can leverage on the `$vacl` instance:
206206

207207
| Method | Argument | Description |
208208
| ------ | --------- | ----------- |
209-
| `can()` | <code>string[] \| string</code> | Shorthand accessor for `hasAllPermissions()`. |
210-
| `hasAllPermissions()` | <code>string[] \| string</code> | Assert the store has all of the passed permission(s). |
211-
| `hasAnyPermissions()` | <code>string[] \| string</code> | Assert the store has any of the passed permission(s). |
212-
| `missingAllPermissions()` | <code>string[] \| string</code> | Assert the store is missing all of the passed permission(s). |
213-
| `missingAnyPermissions()` | <code>string[] \| string</code> | Assert the store is missing at least 1 of the passed permission(s). |
214-
| `has()` | <code>string[] \| string</code> | Shorthand accessor for `hasAllRoles()`. |
215-
| `hasAllRoles()` | <code>string[] \| string</code> | Assert the store has all of the passed role(s). |
216-
| `hasAnyRoles()` | <code>string[] \| string</code> | Assert the store has any of the passed role(s). |
217-
| `missingAllRoles()` | <code>string[] \| string</code> | Assert the store is missing all of the passed role(s). |
218-
| `missingAnyRoles()` | <code>string[] \| string</code> | Assert the store is missing at least 1 of the passed role(s). |
209+
| `can()` |<code>string[]</code><br/><code>string</code> | Shorthand accessor for `hasAllPermissions()`. |
210+
| `hasAllPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store has all of the passed permission(s). |
211+
| `hasAnyPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store has any of the passed permission(s). |
212+
| `missingAllPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing all of the passed permission(s). |
213+
| `missingAnyPermissions()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing at least 1 of the passed permission(s). |
214+
| `has()` |<code>string[]</code><br/><code>string</code> | Shorthand accessor for `hasAllRoles()`. |
215+
| `hasAllRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store has all of the passed role(s). |
216+
| `hasAnyRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store has any of the passed role(s). |
217+
| `missingAllRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing all of the passed role(s). |
218+
| `missingAnyRoles()` |<code>string[]</code><br/><code>string</code> | Assert the store is missing at least 1 of the passed role(s). |
219219
| `getRoles()` | - | Gets the array of currently stored roles. |
220220
| `getPermissions()` | - | Gets the array of currently stored permissions. |
221221
| `setRoles()` | `string[]` | Overwrites the role store with the passed array. |
222222
| `setPermissions()` | `string[]` | Overwrites the permission store with the passed array. |
223-
| `addRoles()` | <code>string[] \| string</code> | Adds the given role(s) to the role store. |
224-
| `addPermissions()` | <code>string \| string[]</code> | Adds the given permission(s) to the permission store. |
223+
| `addRoles()` |<code>string[]</code><br/><code>string</code> | Adds the given role(s) to the role store. |
224+
| `addPermissions()` |<code>string</code><br/><code>string[]</code> | Adds the given permission(s) to the permission store. |
225225
| `clearRoles()` | - | Clears the currently stored roles. |
226226
| `clearPermissions()` | - | Clears the currently stored permissions. |
227227
| `clear()` | - | Clears both the role and permission store. |

0 commit comments

Comments
 (0)