Skip to content

Commit

Permalink
use @generate-legacy-arginfo
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet committed Oct 5, 2020
1 parent 392eb9d commit 203e5f4
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
5 changes: 4 additions & 1 deletion apc_iterator.stub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php

/** @generate-function-entries */
/**
* @generate-function-entries
* @generate-legacy-arginfo
*/

class APCUIterator implements Iterator {
/** @param array|string|null $search */
Expand Down
2 changes: 1 addition & 1 deletion apc_iterator_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: 4311353b2b909c4976b9b5a9a70df00a830e953b */
* Stub hash: bb3222265846a53027ddd5c8da8106de9af8b0d5 */

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_APCUIterator___construct, 0, 0, 0)
ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, search, "null")
Expand Down
2 changes: 1 addition & 1 deletion apc_iterator_legacy_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: 4311353b2b909c4976b9b5a9a70df00a830e953b */
* Stub hash: bb3222265846a53027ddd5c8da8106de9af8b0d5 */

ZEND_BEGIN_ARG_INFO_EX(arginfo_class_APCUIterator___construct, 0, 0, 0)
ZEND_ARG_INFO(0, search)
Expand Down
5 changes: 4 additions & 1 deletion php_apc.stub.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<?php

/** @generate-function-entries PHP_APCU_API */
/**
* @generate-function-entries PHP_APCU_API
* @generate-legacy-arginfo
*/

function apcu_clear_cache(): bool {}

Expand Down
2 changes: 1 addition & 1 deletion php_apc_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: ef03298f36215c95f4047776d95f0f3dc8c17458 */
* Stub hash: 5282d856fd334278d5799581ad251977a3c6b18e */

ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX(arginfo_apcu_clear_cache, 0, 0, _IS_BOOL, 0)
ZEND_END_ARG_INFO()
Expand Down
2 changes: 1 addition & 1 deletion php_apc_legacy_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: ef03298f36215c95f4047776d95f0f3dc8c17458 */
* Stub hash: 5282d856fd334278d5799581ad251977a3c6b18e */

ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_clear_cache, 0, 0, 0)
ZEND_END_ARG_INFO()
Expand Down

0 comments on commit 203e5f4

Please sign in to comment.