Skip to content
  1. Jan 03, 2023
  2. Dec 23, 2022
  3. Jan 25, 2022
  4. May 05, 2021
  5. Nov 20, 2018
  6. Jun 08, 2017
  7. Jun 06, 2017
    • Mitesh Patel's avatar
      Issue #2879534 by miteshmap: don't use type hints on primitive types · 91967017
      Mitesh Patel authored and Antonio Ospite's avatar Antonio Ospite committed
      In PHP 5 using type hints in function signatures for primitive types is
      only allowed when the default value is NULL, otherwise there are errors
      like the following:
      
        PHP Fatal error:  Default value for parameters with a class type hint
        can only be NULL in .../select_translation/select_translation.module
      
      So don't use type hinting for string parameters to keep compatibility
      with PHP 5.
      8.x-1.0
      91967017
  8. Mar 29, 2017
  9. Mar 28, 2017
  10. Mar 08, 2017
  11. Mar 01, 2017
  12. Feb 28, 2017