Skip to content

Commit

Permalink
TASK: Remove unused variables from sprintf
Browse files Browse the repository at this point in the history
  • Loading branch information
mstruebing committed Jun 26, 2018
1 parent 0808fd1 commit f46b0db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Service/LinkingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public function createNodeUri(ControllerContext $controllerContext, $node = null
if (is_string($node)) {
$nodeString = $node;
if ($nodeString === '') {
throw new NeosException(sprintf('Empty strings can not be resolved to nodes.', $nodeString), 1415709942);
throw new NeosException(sprintf('Empty strings can not be resolved to nodes.'), 1415709942);
}
preg_match(NodeInterface::MATCH_PATTERN_CONTEXTPATH, $nodeString, $matches);
if (isset($matches['WorkspaceName']) && $matches['WorkspaceName'] !== '') {
Expand Down

0 comments on commit f46b0db

Please sign in to comment.