Skip to content

Commit

Permalink
Fix wrong namespace in docblock (#2494)
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Dec 12, 2020
1 parent afe0386 commit 7340918
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Extend/Policy.php
Expand Up @@ -21,7 +21,7 @@ class Policy implements ExtenderInterface
/**
* Add a custom policy for when an ability check is ran without a model instance.
*
* @param string $policy ::class attribute of policy class, which must extend Flarum\User\AbstractPolicy
* @param string $policy ::class attribute of policy class, which must extend Flarum\User\Access\AbstractPolicy
*/
public function globalPolicy(string $policy)
{
Expand All @@ -35,7 +35,7 @@ public function globalPolicy(string $policy)
*
* @param string $modelClass The ::class attribute of the model you are applying policies to.
* This model should extend from \Flarum\Database\AbstractModel.
* @param string $policy ::class attribute of policy class, which must extend Flarum\User\AbstractPolicy
* @param string $policy ::class attribute of policy class, which must extend Flarum\User\Access\AbstractPolicy
*/
public function modelPolicy(string $modelClass, string $policy)
{
Expand Down

0 comments on commit 7340918

Please sign in to comment.