Skip to content

Commit 2fc5ca2

Browse files
committed
fix: lint
1 parent 0420dfa commit 2fc5ca2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/Types/StrictusEnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class StrictusEnum implements StrictusTypeInterface
1919

2020
public function __construct(private string $enumType, private mixed $value, private bool $nullable)
2121
{
22-
$this->errorMessage = 'Expected Enum Of '.$this->enumType;
22+
$this->errorMessage = 'Expected Enum Of ' . $this->enumType;
2323

2424
if ($this->nullable) {
2525
$this->errorMessage .= ' Or Null';

tests/Unit/EnumTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
use Strictus\Exceptions\StrictusTypeException;
46
use Strictus\Strictus;
57
use Strictus\Types\StrictusEnum;

0 commit comments

Comments
 (0)