diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/ModuleManagementModelTreeItem.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
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; |
