Skip to content

Commit 2aab393

Browse files
Fix doc: include empty values by array_group_by() (#8396)
1 parent 072318c commit 2aab393

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • user_guide_src/source/helpers/array_helper

user_guide_src/source/helpers/array_helper/014.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
$result = array_group_by($employees, ['gender', 'hr.department']);
3+
$result = array_group_by($employees, ['gender', 'hr.department'], true);
44

55
$result = [
66
'' => [

0 commit comments

Comments
 (0)