Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/traits/Class_Constant_Override_Validator_Trait.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ protected function validate_required_array_class_constants( array $required_arra
*
* @throws Exception
*/
protected function validate_required_array_class_constant( $required_array_constant_name, array $allowed_item_values = null ) {
protected function validate_required_array_class_constant( $required_array_constant_name, ?array $allowed_item_values = null ) {
Comment thread
qodo-code-review[bot] marked this conversation as resolved.
Outdated
Comment thread
apinto-uc marked this conversation as resolved.
Outdated
if ( ! is_string( $required_array_constant_name ) ) {
throw new InvalidArgumentException();
}
Expand Down
Loading