@@ -30,7 +30,7 @@ |
||
30 | 30 | { |
31 | 31 | $cachedParents = []; |
32 | 32 | |
33 | - $addTerm = function ($parent, $item) use ($object_id, &$cachedParents, &$addTerm) { |
|
33 | + $addTerm = function($parent, $item) use ($object_id, &$cachedParents, &$addTerm) { |
|
34 | 34 | if ($this->detectLoop($parent, $item)) { |
35 | 35 | throw new InvalidCallException('Loop detected! Cannot add parent as a child!'); |
36 | 36 | } |