@@ -107,12 +107,12 @@ |
||
107 | 107 | foreach ($nodes_list as $node) { |
108 | 108 | /** @var AbstractStructuralDBElement $node */ |
109 | 109 | $entry = [ |
110 | - 'text' => str_repeat(' ', $node->getLevel()) . htmlspecialchars($node->getName()), |
|
110 | + 'text' => str_repeat(' ', $node->getLevel()).htmlspecialchars($node->getName()), |
|
111 | 111 | 'value' => $node->getID(), |
112 | 112 | 'data-subtext' => $node->getParent() ? $node->getParent()->getFullPath() : null, |
113 | 113 | ]; |
114 | 114 | |
115 | - $entries[] = $entry; |
|
115 | + $entries[] = $entry; |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | return $entries; |
@@ -99,7 +99,7 @@ |
||
99 | 99 | break; |
100 | 100 | |
101 | 101 | default: |
102 | - throw new \InvalidArgumentException('The given action is unknown! (' . $action . ')'); |
|
102 | + throw new \InvalidArgumentException('The given action is unknown! ('.$action.')'); |
|
103 | 103 | } |
104 | 104 | } |
105 | 105 | } |