Skip to content

Commit 4cbff2e

Browse files
committed
Fixes #57
1 parent 142f3cb commit 4cbff2e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

bin/baseline.neon

-6
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,6 @@ parameters:
7878
count: 1
7979
path: ../includes/acf-input-functions.php
8080

81-
-
82-
message: '#^Result of function acf_copy_metadata \(void\) is used\.$#'
83-
identifier: function.void
84-
count: 1
85-
path: ../includes/acf-meta-functions.php
86-
8781
-
8882
message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
8983
identifier: phpDoc.parseError

includes/acf-meta-functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ function acf_copy_metadata( $from_post_id = 0, $to_post_id = 0 ) {
284284
* @return void
285285
*/
286286
function acf_copy_postmeta( $from_post_id = 0, $to_post_id = 0 ) {
287-
return acf_copy_metadata( $from_post_id, $to_post_id );
287+
acf_copy_metadata( $from_post_id, $to_post_id );
288288
}
289289

290290
/**

0 commit comments

Comments
 (0)