diff --git a/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/SimpleValueDenormalizer.php b/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/SimpleValueDenormalizer.php index dace6cfb..1149454f 100644 --- a/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/SimpleValueDenormalizer.php +++ b/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/SimpleValueDenormalizer.php @@ -37,7 +37,7 @@ public function __construct(ParserInterface $parser) $this->parser = $parser; } - public function denormalize(FixtureInterface $scope, ?FlagBag $flags = null, $value) + public function denormalize(FixtureInterface $scope, ?FlagBag $flags, $value) { if (is_string($value)) { return $this->parseValue($this->parser, $value); diff --git a/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/UniqueValueDenormalizer.php b/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/UniqueValueDenormalizer.php index b172b88a..0c4d7b17 100644 --- a/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/UniqueValueDenormalizer.php +++ b/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/Value/UniqueValueDenormalizer.php @@ -44,7 +44,7 @@ public function __construct(ValueDenormalizerInterface $decoratedDenormalizer) * @param mixed $value * @throws InvalidScopeException */ - public function denormalize(FixtureInterface $scope, ?FlagBag $flags = null, $value) + public function denormalize(FixtureInterface $scope, ?FlagBag $flags, $value) { $value = $this->denormalizer->denormalize($scope, $flags, $value); diff --git a/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/ValueDenormalizerInterface.php b/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/ValueDenormalizerInterface.php index 7d905adc..945a9885 100644 --- a/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/ValueDenormalizerInterface.php +++ b/src/FixtureBuilder/Denormalizer/Fixture/SpecificationBagDenormalizer/ValueDenormalizerInterface.php @@ -30,5 +30,5 @@ interface ValueDenormalizerInterface * * @return ValueInterface|mixed */ - public function denormalize(FixtureInterface $scope, ?FlagBag $flags = null, $value); + public function denormalize(FixtureInterface $scope, ?FlagBag $flags, $value); } diff --git a/src/Generator/Resolver/Parameter/Chainable/StringParameterResolver.php b/src/Generator/Resolver/Parameter/Chainable/StringParameterResolver.php index 2d1da737..0da43cda 100644 --- a/src/Generator/Resolver/Parameter/Chainable/StringParameterResolver.php +++ b/src/Generator/Resolver/Parameter/Chainable/StringParameterResolver.php @@ -89,7 +89,7 @@ static function ($match) use ($self, $context, $unresolvedParameters, &$resolved * @param string $key Key of the parameter that need to be resolved to resolve $parameter */ private function resolveStringKey( - ?ParameterResolverInterface $resolver = null, + ?ParameterResolverInterface $resolver, Parameter $parameter, string $key, ParameterBag $unresolvedParameters,