Skip to content

Commit

Permalink
Merge pull request #268 from cakephp/types
Browse files Browse the repository at this point in the history
Add missing types.
  • Loading branch information
othercorey authored Nov 13, 2023
2 parents 8184295 + fd60beb commit b26b48f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Policy/BeforeScopeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ interface BeforeScopeInterface
* @param string $action The action/operation being performed.
* @return mixed
*/
public function beforeScope(?IdentityInterface $identity, $resource, string $action);
public function beforeScope(?IdentityInterface $identity, mixed $resource, string $action): mixed;
}
1 change: 0 additions & 1 deletion tests/TestCase/AuthorizationServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
use TestApp\Model\Table\ArticlesTable;
use TestApp\Policy\ArticlePolicy;
use TestApp\Policy\MagicCallPolicy;
use TypeError;

class AuthorizationServiceTest extends TestCase
{
Expand Down

0 comments on commit b26b48f

Please sign in to comment.