arrayColluymn la fonction

This commit is contained in:
Fred Tempez 2022-03-16 18:44:51 +01:00
parent 7c6ca6c940
commit 638db41369

View File

@ -86,7 +86,7 @@ class helper {
* @param string $sort Type de tri à appliquer au tableau (SORT_ASC, SORT_DESC, ou null)
* @return array
*/
public static function arrayColumn($array, $column, $sort = null) {
public static function arraycollumn($array, $column, $sort = null) {
$newArray = [];
if(empty($array) === false) {
$newArray = array_map(function($element) use($column) {