.. _functions-couldtypewithstring: .. _could-type-with-string: Could Type With String ++++++++++++++++++++++ That argument may be typed with ``string``. .. code-block:: php See also `Type declarations `_. Connex PHP features ------------------- + `string `_ Suggestions ___________ * Add the ``string`` typehint to the function. Specs _____ +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Short name | Functions/CouldTypeWithString | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Rulesets | :ref:`All `, :ref:`Changed Behavior ` | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Exakat since | 1.9.9 | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | PHP Version | All | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Severity | Minor | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Time To Fix | Quick (30 mins) | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Precision | Very high | +--------------+-------------------------------------------------------------------------------------------------------------------------+ | Available in | `Entreprise Edition `_, `Exakat Cloud `_ | +--------------+-------------------------------------------------------------------------------------------------------------------------+