Explorar el Código

Add files via upload

Daniele Bonini (皮夕) | 5mode.com | WebDev | Translator hace 3 años
padre
commit
638a77722f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/func.casp-datetime-polyfills.inc

+ 1 - 1
functions/func.casp-datetime-polyfills.inc

@@ -69,7 +69,7 @@ if (!function_exists("is_date")) {
  * @return string the year of the given date, if the date is valid, otherwise a blank string    
  */
 if (!function_exists("year")) { 
-  function year(mixed $date): string
+  function year($date): string
   {
     $retval = "";
     if (isset($date) && ($date instanceof DateTime)) {