Skip to content

Commit

Permalink
fix: ci, decorate name converter
Browse files Browse the repository at this point in the history
  • Loading branch information
DjordyKoert committed Dec 14, 2023
1 parent ee40c82 commit 595414f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Tests/Functional/Controller/NameConverterController80.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ class NameConverterController80
public function nameConverterContext()
{
}
}
}
8 changes: 5 additions & 3 deletions Tests/Functional/ModelDescriber/NameConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@
use Symfony\Component\Serializer\NameConverter\AdvancedNameConverterInterface;
use Symfony\Component\Serializer\NameConverter\MetadataAwareNameConverter;

class NameConverter implements AdvancedNameConverterInterface {
class NameConverter implements AdvancedNameConverterInterface
{
/**
* @var MetadataAwareNameConverter
*/
private $inner;

public function __construct(MetadataAwareNameConverter $inner) {
public function __construct(MetadataAwareNameConverter $inner)
{
$this->inner = $inner;
}

Expand All @@ -30,4 +32,4 @@ public function denormalize(string $propertyName, string $class = null, string $
{
throw new \RuntimeException('Was not expected to be called');
}
}
}

0 comments on commit 595414f

Please sign in to comment.