public function isSubTypeOf(PhpType $that) { if (parent::isSubTypeOf($that)) { return true; } if ($that->isCallableType()) { return true; } return false; }