Skip to content

Commit 3c3a22b

Browse files
janedbalondrejmirtes
authored andcommitted
Drop dead TemplateTypeTrait::shouldGeneralizeInferredType (overwritten in all children)
1 parent ee9ec92 commit 3c3a22b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Type/Generic/TemplateTypeTrait.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,6 @@ public function getStrategy(): TemplateTypeStrategy
297297
return $this->strategy;
298298
}
299299

300-
protected function shouldGeneralizeInferredType(): bool
301-
{
302-
return true;
303-
}
304-
305300
public function traverse(callable $cb): Type
306301
{
307302
$bound = $cb($this->getBound());

0 commit comments

Comments
 (0)