Skip to content

Commit 1632faa

Browse files
committed
Fix missing b_array_nested() bootstrap function
1 parent d44c73c commit 1632faa

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. This projec
44
to [Semantic Versioning] (http://semver.org/). For change log format,
55
use [Keep a Changelog] (http://keepachangelog.com/).
66

7+
## [1.11.1] - 2025-03-27
8+
9+
### Fixed
10+
11+
- Missing `b_array_nested()` bootstrap function
12+
713
## [1.11.0] - 2025-03-27
814

915
### Added

src/bootstrap.php

+12
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,18 @@ function b_array_simple(array $array, ?string $prefix = null): array
140140
return ArrayHelper::simpleArray($array, $prefix = null);
141141
}
142142

143+
/**
144+
* Multi-dimensional array from flat array.
145+
*
146+
* @param array $array
147+
*
148+
* @return array
149+
*/
150+
function b_array_nested(array $array): array
151+
{
152+
return ArrayHelper::nestedArray($array);
153+
}
154+
143155

144156
///////////////////
145157
/// FILE HELPER ///

0 commit comments

Comments
 (0)