diff options
Diffstat (limited to 'lib/models/ModuleManagementModelTreeItem.php')
| -rw-r--r-- | lib/models/ModuleManagementModelTreeItem.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/models/ModuleManagementModelTreeItem.php b/lib/models/ModuleManagementModelTreeItem.php index c2d4269..ac46772 100644 --- a/lib/models/ModuleManagementModelTreeItem.php +++ b/lib/models/ModuleManagementModelTreeItem.php @@ -138,15 +138,19 @@ abstract class ModuleManagementModelTreeItem extends ModuleManagementModel imple * in class ModuleManagementModel. * @return type */ - public static function getPathes($trails, $delimiter = ' · ', - $display_options = self::DISPLAY_DEFAULT) - { + public static function getPathes( + $trails, + $delimiter = ' · ', + $display_options = self::DISPLAY_DEFAULT + ) { $pathes = []; foreach ($trails as $trail) { $pathes[] = join($delimiter, array_map( - function($a) use ($display_options) { - return $a->getDisplayName($display_options); - }, $trail)); + function ($a) use ($display_options) { + return $a->getDisplayName($display_options); + }, + $trail + )); } sort($pathes, SORT_LOCALE_STRING); return $pathes; |
