Skip to content

Commit 141ffaf

Browse files
authoredJul 1, 2024··
Merge pull request #214 from wayofdev/chore/exp
2 parents 1f19892 + d3acc11 commit 141ffaf

File tree

3 files changed

+173
-184
lines changed

3 files changed

+173
-184
lines changed
 

‎composer.lock

Lines changed: 171 additions & 172 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎psalm-baseline.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@
3030
<code><![CDATA[boot]]></code>
3131
</PossiblyUnusedMethod>
3232
</file>
33-
<file src="src/Config.php">
34-
<DocblockTypeContradiction>
35-
<code><![CDATA[$this->encoderRegistrationStrategy === null]]></code>
36-
<code><![CDATA[$this->normalizerRegistrationStrategy === null]]></code>
37-
</DocblockTypeContradiction>
38-
<InvalidParamDefault>
39-
<code><![CDATA[private]]></code>
40-
<code><![CDATA[private]]></code>
41-
</InvalidParamDefault>
42-
</file>
4333
<file src="src/DefaultNormalizerRegistrationStrategy.php">
4434
<PossiblyUnusedMethod>
4535
<code><![CDATA[__construct]]></code>

‎src/Config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727

2828
public function __construct(
2929
private readonly string $defaultSerializer = 'symfony-json',
3030
private readonly bool $debug = false,
31-
/** @var class-string<NormalizerRegistrationStrategy> */
31+
/** @var class-string<NormalizerRegistrationStrategy>|null */
3232
private readonly ?string $normalizerRegistrationStrategy = null,
33-
/** @var class-string<EncoderRegistrationStrategy> */
33+
/** @var class-string<EncoderRegistrationStrategy>|null */
3434
private readonly ?string $encoderRegistrationStrategy = null,
3535
/** @var class-string<LoaderInterface>|null */
3636
private readonly ?string $metadataLoader = null,

0 commit comments

Comments
 (0)
Please sign in to comment.