2
0
Эх сурвалжийг харах

[php] added an overload for session_set_cookie_params (closes #9507)

Aleksandr Kuzmenko 5 жил өмнө
parent
commit
61cfa0af69
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      std/php/Global.hx

+ 1 - 0
std/php/Global.hx

@@ -1385,6 +1385,7 @@ extern class Global {
 	/**
 		@see http://php.net/manual/en/function.session-set-cookie-params.php
 	**/
+	@:overload(function(options:NativeStructArray<{?lifetime:Int, ?path:String, ?domain:String, ?secure:Bool, ?httponly:Bool, ?samesite:String}>):Bool {})
 	static function session_set_cookie_params(lifetime:Int, ?path:String, ?domain:String, secure:Bool = false, httponly:Bool = false):Bool;
 
 	/**