Passed
Push — master ( 123b22...6ed3d5 )
by Jan
09:22 queued 11s
created
src/Controller/SelectAPIController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,12 +107,12 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Services/Parts/PartsTableActionHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.