diff --git a/src/Authz/Levels.php b/src/Authz/Levels.php index e4e8092..fae5fc0 100644 --- a/src/Authz/Levels.php +++ b/src/Authz/Levels.php @@ -58,7 +58,7 @@ public function __construct(array $levels) * @param string $value * @return static */ - private function withProperty(string $property, $value): self + protected function withProperty(string $property, $value): self { $clone = clone $this; $clone->{$property} = $value; diff --git a/src/Session/PhpSession.php b/src/Session/PhpSession.php index 0e3f06c..d07cbcc 100644 --- a/src/Session/PhpSession.php +++ b/src/Session/PhpSession.php @@ -73,7 +73,7 @@ protected function unsetSessionData(): void * @codeCoverageIgnore * @internal * - * @param array|null $info + * @param null|array $info */ private function setGlobalSessionData(?array $info): void {