PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 All 256 releases
← All changes | src/DonationForms/Rules/Size.php +2 -1 4.16.1 → 4.17.0 View file →
@@ -49,11 +49,12 @@
49 49 return $value;
50 50 }
51 51
52 52 /**
53 + * @since 4.17.0 Declare the nullable parameter explicitly.
53 54 * @since 3.0.0
54 55 */
55 - public static function fromString(string $options = null): ValidationRule
56 + public static function fromString(?string $options = null): ValidationRule
56 57 {
57 58 if (!is_numeric($options)) {
58 59 Config::throwInvalidArgumentException('Size validation rule requires a numeric value');
59 60 }