Skip to content

Commit 8d861b2

Browse files
committed
Use ?callable return type
1 parent 5c329f7 commit 8d861b2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Zend/zend_builtin_functions.stub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ function set_error_handler(?callable $callback, int $error_levels = E_ALL) {}
117117

118118
function restore_error_handler(): true {}
119119

120-
function get_error_handler(): mixed {}
120+
function get_error_handler(): ?callable {}
121121

122122
/** @return callable|null */
123123
function set_exception_handler(?callable $callback) {}
124124

125125
function restore_exception_handler(): true {}
126126

127-
function get_exception_handler(): mixed {}
127+
function get_exception_handler(): ?callable {}
128128

129129
/**
130130
* @return array<int, string>

Zend/zend_builtin_functions_arginfo.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)