Add property type declarations

Property type declarations for class variables were added in PHP
7.4.
This commit is contained in:
Joshua Ramon Enslin 2020-09-03 20:00:08 +02:00 committed by Stefan Rohde-Enslin
parent f0b39322ec
commit 23e2237ec5

View File

@ -14,9 +14,9 @@ final class MDErrorReporter {
const MD_ERROR_KNOWN = 0; const MD_ERROR_KNOWN = 0;
/** @var string */ /** @var string */
private $_context; private string $_context;
/** @var string */ /** @var string */
private $_contact_mail_addr; private string $_contact_mail_addr;
/** /**
* Categorizes an error to better decide how to act on it. * Categorizes an error to better decide how to act on it.