Skip to content

Commit

Permalink
AC-13114: Fixed Phpcs issue
Browse files Browse the repository at this point in the history
Signed-off-by: DeepaAdobe <[email protected]>
  • Loading branch information
DeepaAdobe committed Nov 20, 2024
1 parent 265f9f2 commit 330b9c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/AclTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Laminas\Permissions\Acl\Role;
use Laminas\Permissions\Acl\Role\GenericRole;
use Laminas\Permissions\Acl\Role\RoleInterface;
use LaminasTest\Permissions\Acl\StandardUseCase\UserIsBlogPostOwnerAssertion;
use LaminasTest\Permissions\Acl\TestAsset\MockAssertion;
use PHPUnit\Framework\TestCase;
use stdClass;
Expand Down Expand Up @@ -1095,7 +1096,7 @@ public function testAclAssertionsGetProperRoleWhenInheritenceIsUsed(): void
$blogPost = new Resource\GenericResource('blogPost');

/**
* @var LaminasTest\Permissions\Acl\StandardUseCase\UserIsBlogPostOwnerAssertion
* @var UserIsBlogPostOwnerAssertion $assertion
*/
$assertion = $acl->customAssertion;

Expand All @@ -1117,7 +1118,7 @@ public function testAclAssertionsGetOriginalIsAllowedObjects(): void
$this->assertTrue($acl->isAllowed($user, $blogPost, 'view'));

/**
* @var LaminasTest\Permissions\Acl\StandardUseCase\UserIsBlogPostOwnerAssertion
* @var UserIsBlogPostOwnerAssertion $assertion
*/
$assertion = $acl->customAssertion;

Expand Down

0 comments on commit 330b9c4

Please sign in to comment.