Skip to content

Commit

Permalink
Align docblock wording
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbestle committed Dec 17, 2024
1 parent a9006cb commit 9ad6808
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Cms/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public function is(File $file): bool
}

/**
* Checks if the files is accessible.
* Checks if the file is accessible to the current user
* This permission depends on the `read` option until v5
*/
public function isAccessible(): bool
Expand Down
2 changes: 1 addition & 1 deletion src/Cms/Language.php
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public function exists(): bool
}

/**
* Checks if the language is accessible
* Checks if the language is accessible to the current user
*/
public function isAccessible(): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cms/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ public function is($page): bool
}

/**
* Checks if the page is accessible that accessible and listable.
* Checks if the page is accessible to the current user
* This permission depends on the `read` option until v5
*/
public function isAccessible(): bool
Expand Down
2 changes: 1 addition & 1 deletion src/Cms/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function is(User|null $user = null): bool
}

/**
* Checks if the user is accessible
* Checks if the user is accessible to the current user
*/
public function isAccessible(): bool
{
Expand Down

0 comments on commit 9ad6808

Please sign in to comment.