Skip to content

Commit 371ff44

Browse files
committed
Fix
1 parent 8025146 commit 371ff44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/MslsMetaBox.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public function render_select(): void {
239239

240240
/**
241241
* @param string $type
242-
* @param int $msls_id
242+
* @param ?int $msls_id
243243
*
244244
* @return string
245245
*/
@@ -269,7 +269,7 @@ public function render_options( $type, $msls_id ): string {
269269
*
270270
* @return string
271271
*/
272-
public function render_option( int $post_id, int $msls_id ): string {
272+
public function render_option( int $post_id, ?int $msls_id ): string {
273273
return wp_kses(
274274
sprintf(
275275
'<option value="%d" %s>%s</option>',

0 commit comments

Comments
 (0)