Skip to content

Commit 169bb86

Browse files
committed
refactor: reviews
1 parent 0e8c129 commit 169bb86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SDK/Language/CLI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public function getFunctions(): array
357357
{
358358
return [
359359
/** Return true if the entered service->method is enabled for a console preview link */
360-
new TwigFunction('methodHaveConsolePreview', fn($method, $service) => preg_match('/^([Gg]et|[Ll]ist)/', $method)
360+
new TwigFunction('hasConsolePreview', fn($method, $service) => preg_match('/^([Gg]et|[Ll]ist)/', $method)
361361
&& !in_array(strtolower($method), $this->consoleIgnoreFunctions)
362362
&& !in_array($service, $this->consoleIgnoreServices)),
363363
];

0 commit comments

Comments
 (0)