|
@@ -403,8 +403,10 @@ private function populateDataFromTraits( |
|
|
|
|
|
foreach ($trait_storage->template_types as $template_name => $template_type_map) { |
|
|
foreach ($template_type_map as $template_type) { |
|
|
$default_param = clone $template_type[0]; |
|
|
$default_param->from_docblock = false; |
|
|
$storage->template_type_extends[$trait_storage->name][$template_name] |
|
|
= $template_type[0]; |
|
|
= $default_param; |
|
|
} |
|
|
} |
|
|
} |
|
@@ -517,8 +519,10 @@ private function populateDataFromParentClass( |
|
|
|
|
|
foreach ($parent_storage->template_types as $template_name => $template_type_map) { |
|
|
foreach ($template_type_map as $template_type) { |
|
|
$default_param = clone $template_type[0]; |
|
|
$default_param->from_docblock = false; |
|
|
$storage->template_type_extends[$parent_storage->name][$template_name] |
|
|
= $template_type[0]; |
|
|
= $default_param; |
|
|
} |
|
|
} |
|
|
|
|
@@ -655,8 +659,10 @@ private function populateInterfaceDataFromParentInterfaces( |
|
|
|
|
|
foreach ($parent_interface_storage->template_types as $template_name => $template_type_map) { |
|
|
foreach ($template_type_map as $template_type) { |
|
|
$default_param = clone $template_type[0]; |
|
|
$default_param->from_docblock = false; |
|
|
$storage->template_type_extends[$parent_interface_storage->name][$template_name] |
|
|
= $template_type[0]; |
|
|
= $default_param; |
|
|
} |
|
|
} |
|
|
} |
|
@@ -747,8 +753,10 @@ private function populateDataFromImplementedInterfaces( |
|
|
|
|
|
foreach ($implemented_interface_storage->template_types as $template_name => $template_type_map) { |
|
|
foreach ($template_type_map as $template_type) { |
|
|
$default_param = clone $template_type[0]; |
|
|
$default_param->from_docblock = false; |
|
|
$storage->template_type_extends[$implemented_interface_storage->name][$template_name] |
|
|
= $template_type[0]; |
|
|
= $default_param; |
|
|
} |
|
|
} |
|
|
} |
|
|
0 comments on commit
b693b72