diff --git a/abz/SomeFile.php b/abz/SomeFile.php index e50192c4d682..ed63d82ef656 100644 --- a/abz/SomeFile.php +++ b/abz/SomeFile.php @@ -2,30 +2,12 @@ namespace CampApp\Model\Infrastructure\Security\Logger; -use CampApp\Model\Infrastructure\Security\Authorizator\Action; -use CampApp\Model\Infrastructure\Security\Authorizator\PrimitiveAction; -use Ds\Stack; -use Mangoweb\Authorization\Scope\AuthorizationScope; - - final class MemoryApplicationPermissionLogger { - /** @var Stack - */ - private $permissionChecks; - - /** @var Stack - */ - private $requiredActionChecks; - /** - * @return array{queriedAction:string, requiredActions:array{queriedAction:string, isAllowed:bool}[], isAllowed:bool, type:string}|null + * @var array{ + * type:string, + * } */ - public function getLastPermissionCheck(): ?array - { - return $this->permissionChecks->peek(); - } + private $permissionChecks; } diff --git a/packages/better-php-doc-parser/tests/PhpDocParser/TagValueNodeReprint/Fixture/Native/VarTag/ArrayType/ArrayWithTypedComma.php b/packages/better-php-doc-parser/tests/PhpDocParser/TagValueNodeReprint/Fixture/Native/VarTag/ArrayType/ArrayWithTypedComma.php new file mode 100644 index 000000000000..26ca49ea7334 --- /dev/null +++ b/packages/better-php-doc-parser/tests/PhpDocParser/TagValueNodeReprint/Fixture/Native/VarTag/ArrayType/ArrayWithTypedComma.php @@ -0,0 +1,15 @@ +call('configure', [[ RenameClassRector::OLD_TO_NEW_CLASSES => [ 'A' => 'B', - ] + ], ]]); $parameters = $containerConfigurator->parameters();