Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Nov 4, 2024
1 parent ba77441 commit daf638b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/php/src/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ public function assertIndexedArrayContains( $expected_subset, $actual_superset )
* @return mixed Data.
*/
public function normalize_closure_function_name( $data ) {
if ( is_string( $data ) ) {
$data = preg_replace(
'/\{closure[^}]+}/',
'{closure}',
$data
);
} elseif ( is_array( $data ) ) {
foreach ( $data as $key => $value ) {
$data[ $key ] = $this->normalize_closure_function_name( $value );
}
}
return $data;
}
}

0 comments on commit daf638b

Please sign in to comment.