Skip to content

Commit

Permalink
Fix method visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
tarecord committed Jun 4, 2024
1 parent fe0a4ce commit 2dfb529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Arrays/Arr.php
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ public static function map_or_discard( $keys, array $map, bool &$found = true )
*
* @return array
*/
function merge_recursive( array &$array1, array &$array2 ): array {
public static function merge_recursive( array &$array1, array &$array2 ): array {
$merged = $array1;

foreach ( $array2 as $key => &$value ) {
Expand Down Expand Up @@ -1176,7 +1176,7 @@ public static function sort_by_priority( $array ): array {
*
* @return int
*/
protected static function sort_by_priority_comparison( $a, $b ): int {
public static function sort_by_priority_comparison( $a, $b ): int {
if ( is_array( $a ) ) {
$a_priority = $a['priority'];
} else {
Expand Down

0 comments on commit 2dfb529

Please sign in to comment.