Skip to content

Commit

Permalink
typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Jan 16, 2025
1 parent ccf428b commit f3c724d
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/IterableParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down
2 changes: 1 addition & 1 deletion src/UnionParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '',
) {
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/ArrayAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/BoolAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/CallableAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Chevere\Tests\Parameter\Attributes;
namespace Chevere\Tests\Attributes;

use Chevere\Parameter\Attributes\CallableAttr;
use InvalidArgumentException;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/EnumAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Chevere\Tests\Parameter\Attributes;
namespace Chevere\Tests\Attributes;

use Chevere\Parameter\Attributes\EnumAttr;
use InvalidArgumentException;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/FloatAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Chevere\Tests\Parameter\Attributes;
namespace Chevere\Tests\Attributes;

use Chevere\Parameter\Attributes\FloatAttr;
use InvalidArgumentException;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/IntAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Chevere\Tests\Parameter\Attributes;
namespace Chevere\Tests\Attributes;

use Chevere\Parameter\Attributes\IntAttr;
use InvalidArgumentException;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/IterableAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/NullAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/ReturnAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/StringAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

declare(strict_types=1);

namespace Chevere\Tests\Parameter\Attributes;
namespace Chevere\Tests\Attributes;

use Chevere\Parameter\Attributes\StringAttr;
use InvalidArgumentException;
Expand Down
2 changes: 1 addition & 1 deletion tests/Attributes/UnionAttrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f3c724d

Please sign in to comment.