Skip to content

Commit fa3ee76

Browse files
committed
Add @strict-properties to stub
1 parent f439fea commit fa3ee76

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Zend/zend_fibers.stub.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php
22

3-
/** @generate-class-entries */
3+
/**
4+
* @generate-class-entries
5+
* @strict-properties
6+
*/
47

58
final class Fiber
69
{

Zend/zend_fibers_arginfo.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* This is a generated file, edit the .stub.php file instead.
2-
* Stub hash: 378c07d55a5eb5096370884733e5d0fd7fe5af93 */
2+
* Stub hash: 6d3eff364c5fc57d03b82e244b780d0b783d6eaf */
33

44
ZEND_BEGIN_ARG_INFO_EX(arginfo_class_Fiber___construct, 0, 0, 1)
55
ZEND_ARG_TYPE_INFO(0, callback, IS_CALLABLE, 0)
@@ -79,7 +79,7 @@ static zend_class_entry *register_class_Fiber(void)
7979

8080
INIT_CLASS_ENTRY(ce, "Fiber", class_Fiber_methods);
8181
class_entry = zend_register_internal_class_ex(&ce, NULL);
82-
class_entry->ce_flags |= ZEND_ACC_FINAL;
82+
class_entry->ce_flags |= ZEND_ACC_FINAL|ZEND_ACC_NO_DYNAMIC_PROPERTIES;
8383

8484
return class_entry;
8585
}

0 commit comments

Comments
 (0)