diff --git a/src/Arrays/Arr.php b/src/Arrays/Arr.php index cd070f5..1ffbadb 100644 --- a/src/Arrays/Arr.php +++ b/src/Arrays/Arr.php @@ -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 ); }