Skip to content

Commit 2f66ec6

Browse files
committed
Remove more dead code
1 parent e3c76ad commit 2f66ec6

File tree

5 files changed

+0
-15
lines changed

5 files changed

+0
-15
lines changed

src/Reflection/MethodPrototypeReflection.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function __construct(
1717
private bool $isPrivate,
1818
private bool $isPublic,
1919
private bool $isAbstract,
20-
private bool $isFinal,
2120
private bool $isInternal,
2221
private array $variants,
2322
private ?Type $tentativeReturnType,
@@ -55,11 +54,6 @@ public function isAbstract(): bool
5554
return $this->isAbstract;
5655
}
5756

58-
public function isFinal(): bool
59-
{
60-
return $this->isFinal;
61-
}
62-
6357
public function isInternal(): bool
6458
{
6559
return $this->isInternal;

src/Reflection/Native/NativeMethodReflection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ public function getPrototype(): ClassMemberReflection
9494
$prototypeMethod->isPrivate(),
9595
$prototypeMethod->isPublic(),
9696
$prototypeMethod->isAbstract(),
97-
$prototypeMethod->isFinal(),
9897
$prototypeMethod->isInternal(),
9998
$prototypeDeclaringClass->getNativeMethod($prototypeMethod->getName())->getVariants(),
10099
$tentativeReturnType,

src/Reflection/Php/PhpMethodReflection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ public function getPrototype(): ClassMemberReflection
135135
$prototypeMethod->isPrivate(),
136136
$prototypeMethod->isPublic(),
137137
$prototypeMethod->isAbstract(),
138-
$prototypeMethod->isFinal(),
139138
$prototypeMethod->isInternal(),
140139
$prototypeDeclaringClass->getNativeMethod($prototypeMethod->getName())->getVariants(),
141140
$tentativeReturnType,

src/Type/GeneralizePrecision.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ public static function templateArgument(): self
4040
return self::create(self::TEMPLATE_ARGUMENT);
4141
}
4242

43-
public function isLessSpecific(): bool
44-
{
45-
return $this->value === self::LESS_SPECIFIC;
46-
}
47-
4843
public function isMoreSpecific(): bool
4944
{
5045
return $this->value === self::MORE_SPECIFIC;

src/Type/SubtractableType.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
interface SubtractableType extends Type
66
{
77

8-
public function subtract(Type $type): Type;
9-
108
public function getTypeWithoutSubtractedType(): Type;
119

1210
public function changeSubtractedType(?Type $subtractedType): Type;

0 commit comments

Comments
 (0)