diff --git a/src/Type/Generic/TemplateArrayType.php b/src/Type/Generic/TemplateArrayType.php index e6658632cd..3899bba47a 100644 --- a/src/Type/Generic/TemplateArrayType.php +++ b/src/Type/Generic/TemplateArrayType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateBooleanType.php b/src/Type/Generic/TemplateBooleanType.php index 27fc50f21b..f5fbddf7aa 100644 --- a/src/Type/Generic/TemplateBooleanType.php +++ b/src/Type/Generic/TemplateBooleanType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateConstantArrayType.php b/src/Type/Generic/TemplateConstantArrayType.php index 53ea994935..fbc13bad6d 100644 --- a/src/Type/Generic/TemplateConstantArrayType.php +++ b/src/Type/Generic/TemplateConstantArrayType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateConstantIntegerType.php b/src/Type/Generic/TemplateConstantIntegerType.php index a4bc35b848..242ba6794f 100644 --- a/src/Type/Generic/TemplateConstantIntegerType.php +++ b/src/Type/Generic/TemplateConstantIntegerType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateConstantStringType.php b/src/Type/Generic/TemplateConstantStringType.php index f4d3b8dbbb..53179bd1f2 100644 --- a/src/Type/Generic/TemplateConstantStringType.php +++ b/src/Type/Generic/TemplateConstantStringType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateFloatType.php b/src/Type/Generic/TemplateFloatType.php index b3df6ccd2e..6a0d93b33d 100644 --- a/src/Type/Generic/TemplateFloatType.php +++ b/src/Type/Generic/TemplateFloatType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateIntegerType.php b/src/Type/Generic/TemplateIntegerType.php index b4057fa327..2f3499630f 100644 --- a/src/Type/Generic/TemplateIntegerType.php +++ b/src/Type/Generic/TemplateIntegerType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateKeyOfType.php b/src/Type/Generic/TemplateKeyOfType.php index d8522eb503..dc28eaec13 100644 --- a/src/Type/Generic/TemplateKeyOfType.php +++ b/src/Type/Generic/TemplateKeyOfType.php @@ -49,9 +49,4 @@ protected function getResult(): Type ); } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateObjectShapeType.php b/src/Type/Generic/TemplateObjectShapeType.php index 270af37931..658cb7378d 100644 --- a/src/Type/Generic/TemplateObjectShapeType.php +++ b/src/Type/Generic/TemplateObjectShapeType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - } diff --git a/src/Type/Generic/TemplateStringType.php b/src/Type/Generic/TemplateStringType.php index 1ae72a3384..a9d8240be5 100644 --- a/src/Type/Generic/TemplateStringType.php +++ b/src/Type/Generic/TemplateStringType.php @@ -35,9 +35,4 @@ public function __construct( $this->default = $default; } - protected function shouldGeneralizeInferredType(): bool - { - return false; - } - }