Modernize private static property declarations

This commit is contained in:
Dylan K. Taylor
2022-05-17 21:55:16 +01:00
parent 1d5430937f
commit c0b15de504
6 changed files with 7 additions and 11 deletions

View File

@ -30,8 +30,8 @@ use function get_class;
abstract class Event{
private const MAX_EVENT_CALL_DEPTH = 50;
/** @var int */
private static $eventCallDepth = 1;
private static int $eventCallDepth = 1;
/** @var string|null */
protected $eventName = null;