Skip to content

Commit 4dda534

Browse files
committed
Updated for PHPStan level 8
1 parent c44c07b commit 4dda534

File tree

3 files changed

+9
-13
lines changed

3 files changed

+9
-13
lines changed

src/ClassMetadataInterface.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,13 @@
99
*/
1010
interface ClassMetadataInterface extends CompositeTypeMetadataInterface
1111
{
12+
/**
13+
* @return class-string<Subject>|null
14+
*/
15+
public function getNamespace(): ?string;
16+
17+
/**
18+
* @return class-string<Subject>|null
19+
*/
20+
public function getName(): ?string;
1221
}

src/ClassReferenceMetadataInterface.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,4 @@
1010
*/
1111
interface ClassReferenceMetadataInterface extends ClassMetadataInterface
1212
{
13-
public function getNamespace(): ?string;
14-
15-
public function getName(): string;
1613
}

src/ClassTypeMetadataInterface.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,6 @@
1010
*/
1111
interface ClassTypeMetadataInterface extends ClassMetadataInterface
1212
{
13-
/**
14-
* @return class-string<Subject>|null
15-
*/
16-
public function getNamespace(): ?string;
17-
18-
/**
19-
* @return class-string<Subject>|null
20-
*/
21-
public function getName(): ?string;
22-
2313
/**
2414
* @return iterable<PropertyMetadataInterface<Subject>>
2515
*/

0 commit comments

Comments
 (0)