mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
Fixes
This commit is contained in:
parent
5f291af229
commit
c05ce2d622
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user