@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Doctrine\ORM\EntityManager; |
| 15 | 15 | use Doctrine\ORM\EntityRepository; |
| 16 | 16 | use Tadcka\Component\Tree\Model\Manager\NodeManager as BaseNodeManager; |
| 17 | -use Tadcka\Component\Tree\Model\NodeInterface as TreeNodeInterface; |
|
| 18 | 17 | use Tadcka\Component\Tree\Model\NodeInterface; |
| 19 | 18 | use Tadcka\Component\Tree\Model\TreeInterface; |
| 20 | 19 | use Tadcka\Component\Tree\Model\Manager\NodeManagerInterface; |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | 132 | * @param \Closure $callback |
| 133 | - * @param MockObject|RouteInterface $route |
|
| 133 | + * @param MockObject $route |
|
| 134 | 134 | */ |
| 135 | 135 | private function addRouteMethodSetRoutePattern($callback, MockObject $route) |
| 136 | 136 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |
| 143 | - * @param MockObject|RouteInterface $route |
|
| 143 | + * @param MockObject $route |
|
| 144 | 144 | */ |
| 145 | 145 | private function addRouteProviderMethodGetRouteByPattern(MockObject $route) |
| 146 | 146 | { |
@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | |
| 162 | 162 | /** |
| 163 | 163 | * @param string $name |
| 164 | - * @param MockObject|RouteInterface $route |
|
| 164 | + * @param MockObject $route |
|
| 165 | 165 | */ |
| 166 | 166 | private function addRouteName($name, MockObject $route) |
| 167 | 167 | { |
@@ -127,6 +127,9 @@ |
||
| 127 | 127 | $this->assertEquals('/bump-test/bump', $this->routerHelper->normalizeRoutePattern('/bump test/bump')); |
| 128 | 128 | } |
| 129 | 129 | |
| 130 | + /** |
|
| 131 | + * @param null|string $title |
|
| 132 | + */ |
|
| 130 | 133 | private function fillParent(NodeInterface $parent, $title) |
| 131 | 134 | { |
| 132 | 135 | $nodeTranslation = $this->getMockNodeTranslation(); |