diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-23 14:09:23 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-10-23 16:33:16 +0200 |
commit | 47bbfe1fc0855e8f141de7b56668a2294daec344 (patch) | |
tree | 563ba79dbe1e3199cafbbd21adbb929888ea279f /sapi | |
parent | 0fb2374e06948212826454c775bece91c4221e43 (diff) | |
download | php-git-47bbfe1fc0855e8f141de7b56668a2294daec344.tar.gz |
Require stubs to declare return types for magic methods when possible
Closes GH-6376
Diffstat (limited to 'sapi')
-rw-r--r-- | sapi/cli/tests/005.phpt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt index ca3dfd9730..990ea01327 100644 --- a/sapi/cli/tests/005.phpt +++ b/sapi/cli/tests/005.phpt @@ -37,7 +37,7 @@ string(183) "Class [ <internal:Core> class stdClass ] { } " -string(2170) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] { +string(2194) "Class [ <internal:Core> class Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -63,6 +63,7 @@ string(2170) "Class [ <internal:Core> class Exception implements Throwable, Stri - Parameters [0] { } + - Return [ void ] } Method [ <internal:Core, ctor> public method __construct ] { |