Skip to content
Permalink
Browse files

Add slash

  • Loading branch information
muglug committed Dec 15, 2019
1 parent 090ad90 commit 3ef93fd7959a93ad87977ab78c1b00a4a4e9121c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Internal/Codebase/Methods.php
@@ -469,7 +469,7 @@ public static function localizeType(
if (isset($extends[$base_fq_class_name][$atomic_type->param_name])) {
$extended_param = $extends[$base_fq_class_name][$atomic_type->param_name];

$types = array_values($extended_param->getTypes());
$types = \array_values($extended_param->getTypes());

if (count($types) === 1 && $types[0] instanceof Type\Atomic\TNamedObject) {
$atomic_type->as_type = $types[0];

0 comments on commit 3ef93fd

Please sign in to comment.
You can’t perform that action at this time.