@@ -59,9 +59,9 @@ public function append(string $key, $value = null): void
5959 }
6060
6161 $ endKey = array_pop ($ keyPath );
62- for ( $ i = 0 ; $ i < count ($ keyPath ); $ i ++ ) {
62+ for ($ i = 0 ; $ i < count ($ keyPath ); $ i ++) {
6363 $ currentKey =& $ keyPath [$ i ];
64- if ( ! isset ($ currentValue [$ currentKey ]) ) {
64+ if (! isset ($ currentValue [$ currentKey ])) {
6565 $ currentValue [$ currentKey ] = [];
6666 }
6767 $ currentValue =& $ currentValue [$ currentKey ];
@@ -97,7 +97,7 @@ public function set(string $key, $value = null): void
9797 }
9898
9999 $ endKey = array_pop ($ keyPath );
100- for ( $ i = 0 ; $ i < count ($ keyPath ); $ i ++ ) {
100+ for ($ i = 0 ; $ i < count ($ keyPath ); $ i ++) {
101101 $ currentKey =& $ keyPath [$ i ];
102102 if (!isset ($ currentValue [$ currentKey ])) {
103103 $ currentValue [$ currentKey ] = [];
@@ -129,7 +129,7 @@ public function remove(string $key): void
129129 }
130130
131131 $ endKey = array_pop ($ keyPath );
132- for ( $ i = 0 ; $ i < count ($ keyPath ); $ i ++ ) {
132+ for ($ i = 0 ; $ i < count ($ keyPath ); $ i ++) {
133133 $ currentKey =& $ keyPath [$ i ];
134134 if (!isset ($ currentValue [$ currentKey ])) {
135135 return ;
@@ -149,9 +149,9 @@ public function get(string $key, $default = null)
149149 $ currentValue = $ this ->data ;
150150 $ keyPath = explode ('. ' , $ key );
151151
152- for ( $ i = 0 ; $ i < count ($ keyPath ); $ i ++ ) {
152+ for ($ i = 0 ; $ i < count ($ keyPath ); $ i ++) {
153153 $ currentKey = $ keyPath [$ i ];
154- if (!isset ($ currentValue [$ currentKey ]) ) {
154+ if (!isset ($ currentValue [$ currentKey ])) {
155155 return $ default ;
156156 }
157157 if (!is_array ($ currentValue )) {
@@ -173,7 +173,7 @@ public function has(string $key): bool
173173 $ currentValue = &$ this ->data ;
174174 $ keyPath = explode ('. ' , $ key );
175175
176- for ( $ i = 0 ; $ i < count ($ keyPath ); $ i ++ ) {
176+ for ($ i = 0 ; $ i < count ($ keyPath ); $ i ++) {
177177 $ currentKey = $ keyPath [$ i ];
178178 if (
179179 !is_array ($ currentValue ) ||
0 commit comments