Skip to content

Commit 23d9d1f

Browse files
committed
minor changes
1 parent 5b8e8bf commit 23d9d1f

File tree

4 files changed

+20
-11
lines changed

4 files changed

+20
-11
lines changed

src/TypeConverter/ArrayAccessTypeConverter.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,20 @@
3838

3939
/**
4040
* @since 3.1.0
41-
*
42-
* @psalm-suppress MissingConstructor
4341
*/
4442
final class ArrayAccessTypeConverter implements
4543
TypeConverterInterface,
4644
AnnotationReaderAwareInterface,
4745
HydratorAwareInterface
4846
{
47+
/**
48+
* @psalm-suppress PropertyNotSetInConstructor
49+
*/
4950
private AnnotationReaderInterface $annotationReader;
51+
52+
/**
53+
* @psalm-suppress PropertyNotSetInConstructor
54+
*/
5055
private HydratorInterface $hydrator;
5156

5257
public function setAnnotationReader(AnnotationReaderInterface $annotationReader): void

src/TypeConverter/ArrayTypeConverter.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,20 @@
3232

3333
/**
3434
* @since 3.1.0
35-
*
36-
* @psalm-suppress MissingConstructor
3735
*/
3836
final class ArrayTypeConverter implements
3937
TypeConverterInterface,
4038
AnnotationReaderAwareInterface,
4139
HydratorAwareInterface
4240
{
41+
/**
42+
* @psalm-suppress PropertyNotSetInConstructor
43+
*/
4344
private AnnotationReaderInterface $annotationReader;
45+
46+
/**
47+
* @psalm-suppress PropertyNotSetInConstructor
48+
*/
4449
private HydratorInterface $hydrator;
4550

4651
public function setAnnotationReader(AnnotationReaderInterface $annotationReader): void

src/TypeConverter/ObjectTypeConverter.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,12 @@
2828

2929
/**
3030
* @since 3.1.0
31-
*
32-
* @psalm-suppress MissingConstructor
3331
*/
3432
final class ObjectTypeConverter implements TypeConverterInterface, HydratorAwareInterface
3533
{
34+
/**
35+
* @psalm-suppress PropertyNotSetInConstructor
36+
*/
3637
private HydratorInterface $hydrator;
3738

3839
public function setHydrator(HydratorInterface $hydrator): void

src/TypeConverter/TimestampTypeConverter.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@
3939

4040
/**
4141
* @since 3.1.0
42-
*
43-
* @psalm-suppress MissingConstructor
4442
*/
4543
final class TimestampTypeConverter implements TypeConverterInterface, AnnotationReaderAwareInterface
4644
{
@@ -51,11 +49,11 @@ final class TimestampTypeConverter implements TypeConverterInterface, Annotation
5149
*/
5250
public const DEFAULT_FORMAT = DateTimeInterface::RFC3339_EXTENDED;
5351

54-
private AnnotationReaderInterface $annotationReader;
55-
5652
/**
57-
* @inheritDoc
53+
* @psalm-suppress PropertyNotSetInConstructor
5854
*/
55+
private AnnotationReaderInterface $annotationReader;
56+
5957
public function setAnnotationReader(AnnotationReaderInterface $annotationReader): void
6058
{
6159
$this->annotationReader = $annotationReader;

0 commit comments

Comments
 (0)