← All changes
|
src/lib/traits/Class_Constant_Override_Validator_Trait.php
+1
-1
4.7.1
→
4.7.4
View file →
| @@ -120,9 +120,9 @@ | ||
| 120 | 120 | * @param array|null $allowed_item_values |
| 121 | 121 | * |
| 122 | 122 | * @throws Exception |
| 123 | 123 | */ |
| 124 | - protected function validate_required_array_class_constant( $required_array_constant_name, array $allowed_item_values = null ) { | |
| 124 | + protected function validate_required_array_class_constant( $required_array_constant_name, $allowed_item_values = null ) { | |
| 125 | 125 | if ( ! is_string( $required_array_constant_name ) ) { |
| 126 | 126 | throw new InvalidArgumentException(); |
| 127 | 127 | } |
| 128 | 128 | $value = constant( 'static::' . $required_array_constant_name ); |