Add property type declarations

Property type declarations for class variables were added in PHP
7.4.
This commit is contained in:
jrenslin authored and Stefan Rohde-Enslin committed 2020-09-03 20:00:08 +02:00
1 parent f0b39322ec
commit 23e2237ec5
1 file changed
+2 -2
+2 -2
View File
@@ -14,9 +14,9 @@ final class MDErrorReporter {
const MD_ERROR_KNOWN = 0;
/** @var string */
private $_context;
private string $_context;
/** @var string */
private $_contact_mail_addr;
private string $_contact_mail_addr;
/**
* Categorizes an error to better decide how to act on it.