Aliasing Zend method parameters to their Laminas equivalent

Hi, I was wondering if laminas-zendframework-bridge could somehow take care of a case like this:
One of our vendor modules class extends ZF\Rest\RestController from the repository. The class also overrides one of the methods that RestController provides, the interface of it is this:
public function prepareHalCollection(\ZF\Hal\Collection $collection)
Registering an alias for the ZF Collection class to Laminas\ApiTools\Hal\Collection did not help unfortunately, we still get a Declaration of ... should be compatible with ... error, when the class is being loaded.
Is there something we can do to avoid the error ?