style: Pint 포맷팅 적용

This commit is contained in:
김보곤
2026-02-25 11:45:01 +09:00
parent 68b1622a4e
commit 9a7c548246
199 changed files with 1420 additions and 1083 deletions

View File

@@ -180,8 +180,8 @@ public function isMenuActive(Menu $menu): bool
// prefix 매칭: 더 구체적인 메뉴가 있으면 덜 구체적인 prefix 매칭 비활성화
// (예: /esign/templates/5/fields 접속 시, /esign/templates 메뉴만 활성화, /esign 메뉴는 비활성)
if (str_starts_with($currentPath, $menu->url.'/')) {
return !self::hasExactMenuMatch($currentPath)
&& !self::hasMoreSpecificPrefixMenu($currentPath, $menu->url);
return ! self::hasExactMenuMatch($currentPath)
&& ! self::hasMoreSpecificPrefixMenu($currentPath, $menu->url);
}
return false;
@@ -275,7 +275,7 @@ private static function hasExactMenuMatch(string $currentPath): bool
private static function hasMoreSpecificPrefixMenu(string $currentPath, string $menuUrl): bool
{
$cacheKey = $currentPath . '|' . $menuUrl;
$cacheKey = $currentPath.'|'.$menuUrl;
if (isset(self::$prefixMenuCache[$cacheKey])) {
return self::$prefixMenuCache[$cacheKey];
}
@@ -293,6 +293,7 @@ private static function hasMoreSpecificPrefixMenu(string $currentPath, string $m
->exists();
self::$prefixMenuCache[$cacheKey] = $result;
return $result;
}