@@ -42,7 +42,7 @@ |
||
| 42 | 42 | } |
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | - * @param FeatureInterface|Config $feature |
|
| 45 | + * @param FeatureInterface $feature |
|
| 46 | 46 | */ |
| 47 | 47 | public function addFeature(FeatureInterface $feature) |
| 48 | 48 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use WebinoConfigLib\AbstractConfig; |
| 6 | 6 | use WebinoConfigLib\Exception\InvalidArgumentException; |
| 7 | -use Zend\Stdlib\ArrayUtils; |
|
| 8 | 7 | |
| 9 | 8 | /** |
| 10 | 9 | * Class AbstractRoute |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | /** |
| 35 | 35 | * Return an element collection |
| 36 | 36 | * |
| 37 | - * @param string|array $locator |
|
| 37 | + * @param string $locator |
|
| 38 | 38 | * @return Dom\NodeList |
| 39 | 39 | */ |
| 40 | 40 | public function locate($locator) |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * @param NodeInterface $node |
| 25 | 25 | * @param $locator |
| 26 | - * @return mixed |
|
| 26 | + * @return \DOMNodeList |
|
| 27 | 27 | */ |
| 28 | 28 | public function query(NodeInterface $node, $locator) |
| 29 | 29 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * @param NodeLocatorInterface $doc |
| 19 | - * @param State $cfg |
|
| 19 | + * @param Config $cfg |
|
| 20 | 20 | */ |
| 21 | 21 | public function render(NodeLocatorInterface $doc, Config $cfg, RenderEvent $parentEvent = null, callable $callback = null) |
| 22 | 22 | { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | $event = new RenderEvent($this, $node, $spec, $parentEvent); |
| 36 | 36 | |
| 37 | - $events->attach(RenderEvent::class, function (RenderEvent $subEvent) use ($spec, $event) { |
|
| 37 | + $events->attach(RenderEvent::class, function(RenderEvent $subEvent) use ($spec, $event) { |
|
| 38 | 38 | $view = $spec->getView(); |
| 39 | 39 | if (empty($view)) { |
| 40 | 40 | return; |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * @param Renderer $target |
| 44 | 44 | * @param NodeInterface $node |
| 45 | 45 | * @param SpecInterface $spec |
| 46 | - * @param self|null $parent |
|
| 46 | + * @param null|\self $parent |
|
| 47 | 47 | */ |
| 48 | 48 | public function __construct(Renderer $target, NodeInterface $node, SpecInterface $spec, self $parent = null) |
| 49 | 49 | { |
@@ -13,6 +13,7 @@ |
||
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | 15 | * {@inheritdoc} |
| 16 | + * @param string $name |
|
| 16 | 17 | */ |
| 17 | 18 | public function __construct($name = null, $target = null, $params = null) |
| 18 | 19 | { |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * $this->eventIdentifier property. |
| 24 | 24 | * |
| 25 | 25 | * @param EventManagerInterface $events |
| 26 | - * @return mixed |
|
| 26 | + * @return EventsAwareTrait |
|
| 27 | 27 | */ |
| 28 | 28 | public function setEvents(EventManagerInterface $events) |
| 29 | 29 | { |
@@ -2,19 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace WebinoViewLib\Component; |
| 4 | 4 | |
| 5 | -use WebinoAppLib\Event\AppEvent; |
|
| 6 | 5 | use WebinoAppLib\Event\DispatchEvent; |
| 7 | -use WebinoAppLib\Feature\HttpListener; |
|
| 8 | 6 | use WebinoAppLib\Service\Initializer\RoutingAwareTrait; |
| 9 | -use WebinoConfigLib\Feature\FeatureInterface; |
|
| 10 | -use WebinoDomLib\Dom\Config\SpecConfigAggregateInterface; |
|
| 11 | 7 | use WebinoDomLib\Dom\NodeInterface; |
| 12 | 8 | use WebinoDomLib\Event\RenderEvent; |
| 13 | -use WebinoEventLib\ListenerAggregateTrait; |
|
| 14 | -use WebinoViewLib\Feature\NodeView; |
|
| 15 | -use WebinoViewLib\Feature\ViewListener; |
|
| 16 | -use Zend\EventManager\ListenerAggregateInterface; |
|
| 17 | -use Zend\Stdlib\CallbackHandler; |
|
| 18 | 9 | |
| 19 | 10 | /** |
| 20 | 11 | * Class ComponentStateTrait |