1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00
This commit is contained in:
Daniil Gentili 2022-12-02 19:05:31 +01:00
parent 5f291af229
commit c05ce2d622

View File

@ -229,8 +229,6 @@ trait GenericTrait
);
}
assert(count($type_params) === 2);
return $type_params === $this->type_params ? null : $type_params;
}
@ -255,7 +253,6 @@ trait GenericTrait
$type_params[$offset] = $type_param;
}
assert(count($type_params) === 2);
return $type_params === $this->type_params ? null : $type_params;
}