Skip to content

Commit

Permalink
Annotated sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Nov 19, 2024
1 parent d21c5e8 commit 567802c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/php/admin/preset-on-activation.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ function apply_preset( $preset ) {
remove_theme_mod( $mod );
continue;
}
// @phpstan-ignore function.alreadyNarrowedType (Should always be array, but check here for safety)
if ( is_array( $value ) ) {
$value = implode( ',', $value );
}
Expand Down

0 comments on commit 567802c

Please sign in to comment.