1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-23 06:11:25 +01:00

Make private

This commit is contained in:
Daniil Gentili 2022-07-27 18:56:24 +02:00
parent 82e8c0dea8
commit 1a4d68e53b
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -787,7 +787,7 @@ abstract class Type
/**
* @psalm-assert-if-true TIterable|TNamedObject|TTemplateParam|TObjectWithProperties $type
*/
public static function mayHaveIntersection(Atomic $type, Codebase $codebase): bool
private static function mayHaveIntersection(Atomic $type, Codebase $codebase): bool
{
if ($type instanceof TIterable
|| $type instanceof TTemplateParam