Skip to content

Commit

Permalink
Fix COMPersistHelper::__construct() stub
Browse files Browse the repository at this point in the history
`$variant` is optional.
  • Loading branch information
cmb69 committed Nov 23, 2020
1 parent ce18899 commit 807775b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ext/com_dotnet/com_persist.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

final class COMPersistHelper
{
public function __construct(?variant $variant) {}
public function __construct(?variant $variant = null) {}

public function GetCurFileName(): string|false {}

Expand Down
6 changes: 3 additions & 3 deletions ext/com_dotnet/com_persist_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: d04d007cac328014c6cc76a00cc291237965d56d */
* Stub hash: 2c2759e6c1894713439e3ee8da7f56810d00d8cf */

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_COMPersistHelper___construct, 0, 0, 1)
ZEND_ARG_OBJ_INFO(0, variant, variant, 1)
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_COMPersistHelper___construct, 0, 0, 0)
ZEND_ARG_OBJ_INFO_WITH_DEFAULT_VALUE(0, variant, variant, 1, "null")
ZEND_END_ARG_INFO()

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_class_COMPersistHelper_GetCurFileName, 0, 0, MAY_BE_STRING|MAY_BE_FALSE)
Expand Down

0 comments on commit 807775b

Please sign in to comment.