Skip to content

Commit 3d3568a

Browse files
committed
Remove dead code
1 parent f9704b7 commit 3d3568a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Builder/CliMenuBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ private function extractShortcut(string $title) : ?string
272272
throw InvalidShortcutException::fromShortcut($match[1]);
273273
}
274274

275-
return isset($match[1]) ? strtolower($match[1]) : null;
275+
return strtolower($match[1]);
276276
}
277277

278278
private function processItemShortcut(MenuItemInterface $item) : void

0 commit comments

Comments
 (0)