@@ -46,7 +46,7 @@ |
||
| 46 | 46 | private $nodes; |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param StorageInterface|object $cache |
|
| 49 | + * @param StorageInterface $cache |
|
| 50 | 50 | */ |
| 51 | 51 | public function __construct(StorageInterface $cache) |
| 52 | 52 | { |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | } |
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | - * @param object|DrawProfiler $profiler |
|
| 77 | + * @param DrawProfiler $profiler |
|
| 78 | 78 | * @return self |
| 79 | 79 | */ |
| 80 | 80 | public function setProfiler(DrawProfiler $profiler) |
@@ -18,9 +18,9 @@ |
||
| 18 | 18 | class InvalidLoopHelperOptionException extends InvalidArgumentException implements ExceptionInterface |
| 19 | 19 | { |
| 20 | 20 | /** |
| 21 | - * @param string $message |
|
| 22 | 21 | * @param int $code |
| 23 | 22 | * @param Exception $previous |
| 23 | + * @param string $option |
|
| 24 | 24 | */ |
| 25 | 25 | public function __construct($option, array $spec, $code = null, Exception $previous = null) |
| 26 | 26 | { |
@@ -10,10 +10,8 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace WebinoDraw\Factory; |
| 12 | 12 | |
| 13 | -use WebinoDraw\Dom\Locator; |
|
| 14 | 13 | use WebinoDraw\Instructions\ProfilingInstructionsRenderer; |
| 15 | 14 | use WebinoDraw\Service\DrawProfiler; |
| 16 | -use Zend\ServiceManager\FactoryInterface; |
|
| 17 | 15 | use Zend\ServiceManager\ServiceLocatorInterface; |
| 18 | 16 | |
| 19 | 17 | /** |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace WebinoDraw\Form\View\Helper; |
| 12 | 12 | |
| 13 | -use Zend\Form\Element; |
|
| 14 | 13 | use Zend\Form\ElementInterface; |
| 15 | 14 | use Zend\Form\View\Helper\FormElement as BaseFormElement; |
| 16 | 15 | use Zend\I18n\Translator\TranslatorAwareInterface; |
@@ -59,11 +59,11 @@ |
||
| 59 | 59 | protected $drawOptions; |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @param object|HelperPluginManager $drawHelpers |
|
| 62 | + * @param HelperPluginManager $drawHelpers |
|
| 63 | 63 | * @param Locator $locator |
| 64 | 64 | * @param NodeListFactory $nodeListFactory |
| 65 | 65 | * @param InstructionsFactory $instructionsFactory |
| 66 | - * @param object|ModuleOptions $drawOptions |
|
| 66 | + * @param ModuleOptions $drawOptions |
|
| 67 | 67 | */ |
| 68 | 68 | public function __construct( |
| 69 | 69 | HelperPluginManager $drawHelpers, |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | protected $request; |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | - * @param Request|object $request |
|
| 35 | + * @param Request $request |
|
| 36 | 36 | */ |
| 37 | 37 | public function __construct(Request $request) |
| 38 | 38 | { |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | 60 | * @param array $spec |
| 61 | - * @param $isDisabled |
|
| 61 | + * @param boolean $isDisabled |
|
| 62 | 62 | */ |
| 63 | 63 | public function beginNodeRender(array $spec, $isDisabled) |
| 64 | 64 | { |
@@ -72,11 +72,17 @@ discard block |
||
| 72 | 72 | ]; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param \DOMNodeList $nodes |
|
| 77 | + */ |
|
| 75 | 78 | public function beginNodesDraw($nodes, $helper, $spec, $vars) |
| 76 | 79 | { |
| 77 | 80 | $this->debugger->timer(__CLASS__); |
| 78 | 81 | } |
| 79 | 82 | |
| 83 | + /** |
|
| 84 | + * @param \DOMNodeList $nodes |
|
| 85 | + */ |
|
| 80 | 86 | public function finishNodesDraw($nodes, $helper, $spec, $vars) |
| 81 | 87 | { |
| 82 | 88 | // TODO show more info (nodes, helper, vars?) |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | * Remove vars from string |
| 192 | 192 | * |
| 193 | 193 | * @param string $string |
| 194 | - * @return bool |
|
| 194 | + * @return string |
|
| 195 | 195 | */ |
| 196 | 196 | public function removeVars($string) |
| 197 | 197 | { |
@@ -208,7 +208,7 @@ discard block |
||
| 208 | 208 | * immediately return this array. |
| 209 | 209 | * |
| 210 | 210 | * @param string $str |
| 211 | - * @return mixed |
|
| 211 | + * @return string |
|
| 212 | 212 | */ |
| 213 | 213 | public function translateString($str) |
| 214 | 214 | { |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | * Set translated defaults into translation |
| 298 | 298 | * |
| 299 | 299 | * @param array $defaults |
| 300 | - * @return array |
|
| 300 | + * @return Translation |
|
| 301 | 301 | */ |
| 302 | 302 | public function setDefaults(array $defaults) |
| 303 | 303 | { |