Skip to content
Permalink
Browse files

Add slash

  • Loading branch information
muglug committed Dec 4, 2019
1 parent e1dd22e commit 3a5bb9db9ae80e1acf11cdaafda0401db67b78c2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Psalm/Type/Reconciler.php
@@ -498,7 +498,7 @@ private static function getValueForKey(
}
} elseif (!$existing_key_type_part instanceof Type\Atomic\ObjectLike) {
return Type::getMixed();
} elseif ($array_key[0] === '$' || ($array_key[0] !== '\'' && !is_numeric($array_key[0]))) {
} elseif ($array_key[0] === '$' || ($array_key[0] !== '\'' && !\is_numeric($array_key[0]))) {
if ($has_empty) {
return null;
}

0 comments on commit 3a5bb9d

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