We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfa0bc4 commit 5acbdfdCopy full SHA for 5acbdfd
src/PHPCR/Util/Console/Command/WorkspaceCreateCommand.php
@@ -60,7 +60,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
60
return 1;
61
}
62
63
- if (false !== array_search($workspaceName, $workspace->getAccessibleWorkspaceNames())) {
+ if (in_array($workspaceName, $workspace->getAccessibleWorkspaceNames())) {
64
$output->writeln(
65
sprintf('<comment>This repository already has a workspace called "%s"</comment>', $workspaceName)
66
);
0 commit comments