/** * Returns if method has defined return type. * * @return boolean */ public function hasReturnType() { return PHP_VERSION_ID >= 70000 ? parent::hasReturnType() : null; }