Skip to content

Commit

Permalink
Add missing stub for com_exception
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Jan 24, 2021
1 parent 02933f9 commit bff7761
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ext/com_dotnet/com_extension.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ class dotnet
public function __construct(string $assembly_name, string $datatype_name, int $codepage = CP_ACP) {}
}
#endif

final class com_exception extends exception
{
}
7 changes: 6 additions & 1 deletion ext/com_dotnet/com_extension_arginfo.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: da1da8fcfe8a04d08d354ad2cc5a3658d16c3076 */
* Stub hash: 6b162963bcceb90144fdd3165137fb567f916812 */

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_variant_set, 0, 2, IS_VOID, 0)
ZEND_ARG_OBJ_INFO(0, variant, variant, 0)
Expand Down Expand Up @@ -226,3 +226,8 @@ static const zend_function_entry class_dotnet_methods[] = {
#endif
ZEND_FE_END
};


static const zend_function_entry class_com_exception_methods[] = {
ZEND_FE_END
};

0 comments on commit bff7761

Please sign in to comment.