소스 검색

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

Aleksandr Kuzmenko 5 년 전
부모
커밋
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;
 
 	/**