Skip to content

Commit cceca34

Browse files
committed
A couple minor fixes
1 parent d29ddbc commit cceca34

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

Zend/zend_fibers.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
+----------------------------------------------------------------------+
1818
*/
1919

20-
#include "zend_API.h"
21-
#include "zend_types.h"
22-
2320
#ifndef ZEND_FIBERS_H
2421
#define ZEND_FIBERS_H
2522

23+
#include "zend_API.h"
24+
#include "zend_types.h"
25+
2626
BEGIN_EXTERN_C()
2727

2828
void zend_register_fiber_ce(void);

Zend/zend_fibers.stub.php

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@ public function getReturn(): mixed {}
2424

2525
public static function this(): ?Fiber {}
2626

27-
public static function suspend(mixed $value = null): mixed { }
27+
public static function suspend(mixed $value = null): mixed {}
2828
}
2929

3030
final class FiberError extends Error
3131
{
32-
public function __construct()
33-
{
34-
throw new \Error('The "FiberError" class is reserved for internal use and cannot be manually instantiated');
35-
}
32+
public function __construct() {}
3633
}

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,6 @@ PHP_ADD_SOURCES(Zend, \
16141614
Optimizer/zend_dump.c \
16151615
, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
16161616

1617-
16181617
PHP_ADD_BUILD_DIR(main main/streams)
16191618
PHP_ADD_BUILD_DIR(TSRM)
16201619
PHP_ADD_BUILD_DIR(Zend Zend/Optimizer)

0 commit comments

Comments
 (0)