diff --git a/src/IterableParameter.php b/src/IterableParameter.php index c884af2..358b5ae 100644 --- a/src/IterableParameter.php +++ b/src/IterableParameter.php @@ -34,7 +34,7 @@ final class IterableParameter implements IterableParameterInterface */ private ?iterable $default = null; - final public function __construct( + public function __construct( private ParameterInterface $value, private ParameterInterface $key, private string $description = '' diff --git a/src/UnionParameter.php b/src/UnionParameter.php index a0029e8..12c3c32 100644 --- a/src/UnionParameter.php +++ b/src/UnionParameter.php @@ -35,7 +35,7 @@ final class UnionParameter implements UnionParameterInterface private mixed $default = null; - final public function __construct( + public function __construct( private ParametersInterface $parameters, private string $description = '', ) { diff --git a/tests/Attributes/ArrayAttrTest.php b/tests/Attributes/ArrayAttrTest.php index 8df1bcb..d33bbae 100644 --- a/tests/Attributes/ArrayAttrTest.php +++ b/tests/Attributes/ArrayAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\ArrayAttr; use Chevere\Parameter\Attributes\IntAttr; diff --git a/tests/Attributes/BoolAttrTest.php b/tests/Attributes/BoolAttrTest.php index 11d2989..9b95fd6 100644 --- a/tests/Attributes/BoolAttrTest.php +++ b/tests/Attributes/BoolAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\BoolAttr; use PHPUnit\Framework\TestCase; diff --git a/tests/Attributes/CallableAttrTest.php b/tests/Attributes/CallableAttrTest.php index 9b075b7..a231862 100644 --- a/tests/Attributes/CallableAttrTest.php +++ b/tests/Attributes/CallableAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\CallableAttr; use InvalidArgumentException; diff --git a/tests/Attributes/EnumAttrTest.php b/tests/Attributes/EnumAttrTest.php index 885d822..e0ead46 100644 --- a/tests/Attributes/EnumAttrTest.php +++ b/tests/Attributes/EnumAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\EnumAttr; use InvalidArgumentException; diff --git a/tests/Attributes/FloatAttrTest.php b/tests/Attributes/FloatAttrTest.php index 3ce9108..dec235a 100644 --- a/tests/Attributes/FloatAttrTest.php +++ b/tests/Attributes/FloatAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\FloatAttr; use InvalidArgumentException; diff --git a/tests/Attributes/IntAttrTest.php b/tests/Attributes/IntAttrTest.php index 23035ed..3e8fdc2 100644 --- a/tests/Attributes/IntAttrTest.php +++ b/tests/Attributes/IntAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\IntAttr; use InvalidArgumentException; diff --git a/tests/Attributes/IterableAttrTest.php b/tests/Attributes/IterableAttrTest.php index ba2224e..0c2f6e6 100644 --- a/tests/Attributes/IterableAttrTest.php +++ b/tests/Attributes/IterableAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\IntAttr; use Chevere\Parameter\Attributes\IterableAttr; diff --git a/tests/Attributes/NullAttrTest.php b/tests/Attributes/NullAttrTest.php index cf98f87..6dc2a52 100644 --- a/tests/Attributes/NullAttrTest.php +++ b/tests/Attributes/NullAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\NullAttr; use PHPUnit\Framework\TestCase; diff --git a/tests/Attributes/ReturnAttrTest.php b/tests/Attributes/ReturnAttrTest.php index 8e377c1..6c9bf0a 100644 --- a/tests/Attributes/ReturnAttrTest.php +++ b/tests/Attributes/ReturnAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\IntAttr; use Chevere\Parameter\Attributes\ReturnAttr; diff --git a/tests/Attributes/StringAttrTest.php b/tests/Attributes/StringAttrTest.php index 5db1da0..4aad942 100644 --- a/tests/Attributes/StringAttrTest.php +++ b/tests/Attributes/StringAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\StringAttr; use InvalidArgumentException; diff --git a/tests/Attributes/UnionAttrTest.php b/tests/Attributes/UnionAttrTest.php index 6dea8fe..b41d550 100644 --- a/tests/Attributes/UnionAttrTest.php +++ b/tests/Attributes/UnionAttrTest.php @@ -11,7 +11,7 @@ declare(strict_types=1); -namespace Chevere\Tests\Parameter\Attributes; +namespace Chevere\Tests\Attributes; use Chevere\Parameter\Attributes\IntAttr; use Chevere\Parameter\Attributes\NullAttr;