@@ -46,7 +46,7 @@ |
||
| 46 | 46 | /** |
| 47 | 47 | * @param Document $dom |
| 48 | 48 | * @param string $xpath |
| 49 | - * @return \WebinoDraw\Ajax\Json |
|
| 49 | + * @return string |
|
| 50 | 50 | */ |
| 51 | 51 | protected function respond(Document $dom, $xpath) |
| 52 | 52 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | 54 | * @param string $html |
| 55 | - * @return NodeInterface |
|
| 55 | + * @return \DOMNode |
|
| 56 | 56 | * @throws Exception\LogicException |
| 57 | 57 | */ |
| 58 | 58 | public function replaceWith($html) |
@@ -66,8 +66,8 @@ |
||
| 66 | 66 | |
| 67 | 67 | /** |
| 68 | 68 | * @param string $source |
| 69 | - * @param array|null $options |
|
| 70 | - * @return bool |
|
| 69 | + * @param integer $options |
|
| 70 | + * @return \DOMDocument |
|
| 71 | 71 | */ |
| 72 | 72 | public function loadHTML($source, $options = null) |
| 73 | 73 | { |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use DOMElement; |
| 14 | 14 | use DOMText; |
| 15 | -use WebinoDraw\Exception; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * Class Element |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use DOMElement; |
| 14 | 14 | use DOMText; |
| 15 | -use WebinoDraw\Exception; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * Class Element |
@@ -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 | { |
@@ -74,6 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | /** |
| 76 | 76 | * @TODO method description |
| 77 | + * @param \DOMNodeList $nodes |
|
| 77 | 78 | */ |
| 78 | 79 | public function beginNodesDraw($nodes, $helper, $spec, $vars) |
| 79 | 80 | { |
@@ -82,6 +83,7 @@ discard block |
||
| 82 | 83 | |
| 83 | 84 | /** |
| 84 | 85 | * @TODO method description |
| 86 | + * @param \DOMNodeList $nodes |
|
| 85 | 87 | */ |
| 86 | 88 | public function finishNodesDraw($nodes, $helper, $spec, $vars) |
| 87 | 89 | { |