Skip to content

Commit

Permalink
chore: fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
borkweb committed Dec 18, 2024
1 parent 9978fc6 commit 50c1c4c
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 @@ -31,8 +31,8 @@ public static function accessible( $value ): bool {
* @return array
*/
public static function add( $array, $key, $value ) {
$key = explode('.', $key);
$key = static::wrap($key);
$key = explode( '.', $key );
$key = static::wrap( $key );
if ( is_null( static::get( $array, $key ) ) ) {
$array = static::set( $array, $key, $value );
}
Expand Down

0 comments on commit 50c1c4c

Please sign in to comment.