|
@@ -118,7 +118,7 @@ |
|
|
block discarded – undo |
|
118
|
118
|
* Constructor that initializes the requirement. |
|
119
|
119
|
* |
|
120
|
120
|
* @param string $cfgName The configuration name used for ini_get() |
|
121
|
|
- * @param bool|callback $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
|
121
|
+ * @param boolean|string $evaluation Either a boolean indicating whether the configuration should evaluate to true or false, |
|
122
|
122
|
* or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement |
|
123
|
123
|
* @param bool $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false. |
|
124
|
124
|
* This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin. |
Please login to merge, or discard this patch.