Skip to content

Commit d567b4e

Browse files
github-actionsgithub-actions[bot]
authored andcommitted
style(php-cs-fixer): lint php files and fix coding standards
1 parent 3a4f4a8 commit d567b4e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Normalizers/RamseyUuidNormalizer.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace WayOfDev\Serializer\Normalizers;
66

7-
use ArrayObject;
87
use InvalidArgumentException;
98
use Override;
109
use Ramsey\Uuid\Uuid;
@@ -20,13 +19,12 @@
2019
final class RamseyUuidNormalizer implements NormalizerInterface, DenormalizerInterface
2120
{
2221
/**
23-
* @param mixed $data
2422
* @param array<array-key, mixed> $context
2523
*/
2624
#[Override]
2725
public function normalize(mixed $data, ?string $format = null, array $context = []): string
2826
{
29-
if (!$data instanceof UuidInterface) {
27+
if (! $data instanceof UuidInterface) {
3028
throw new NotNormalizableValueException('Expected UuidInterface instance');
3129
}
3230

0 commit comments

Comments
 (0)