.. _functions-withoutreturn: .. _methods-without-return: Methods Without Return ++++++++++++++++++++++ List of all the functions, closures, methods that have no explicit return. Functions with the ``void`` or ``never`` return types, are omitted. .. code-block:: php See also `return `_. Suggestions ___________ * Add the returntype 'void' to make this explicit behavior Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Functions/WithoutReturn | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Analyze ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 0.8.4 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Features | return, never | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+