1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00
Files
archived-php-src/sapi/cli/tests
Nikita Popov aaae77f7f1 Make Exception::$trace typed array property
This is a private property, so we are allowed to add a type.
The new declaration of the property is:

    private array $trace = [];

This ensures that Exception::getTrace() does indeed return an array.

Userland code that was modifying the property through refleciton
may have to be adjusted to assign an array (instead of null,
for example).

Closes GH-5636.
2020-05-28 13:55:38 +02:00
..
2018-10-14 19:45:12 +02:00
2019-11-07 21:31:47 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2019-11-07 21:31:47 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:46:15 +02:00
2018-10-14 19:45:12 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2019-11-07 21:31:47 +01:00
2020-04-08 17:11:50 +02:00
2020-02-03 22:52:20 +01:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-02-03 22:52:20 +01:00
2020-02-03 22:52:20 +01:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-04-08 17:11:50 +02:00
2020-02-03 22:52:20 +01:00
2020-04-08 17:11:50 +02:00