Completed
Push — develop ( 76f2c7...6a5491 )
by Peter
03:15
created
src/WebinoDraw/Exception/InvalidLoopHelperOptionException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,9 +18,9 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/WebinoDraw/Instructions/InstructionsRenderer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
src/WebinoDraw/VarTranslator/Translation.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/WebinoDraw/View/Strategy/DrawAjaxHtmlStrategy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @param Document $dom
26 26
      * @param string $xpath
27
-     * @return array
27
+     * @return string
28 28
      * @throws Exception\RuntimeException
29 29
      */
30 30
     public function createMarkup(Document $dom, $xpath)
Please login to merge, or discard this patch.
src/WebinoDraw/View/Strategy/DrawAjaxJsonStrategy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/WebinoDraw/Dom/Document.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,8 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 namespace WebinoDraw\Dom;
12 12
 
13 13
 use DOMXpath;
14
-use WebinoDraw\Exception;
15 14
 
16 15
 /**
17 16
  * Extended DOMDocument
Please login to merge, or discard this patch.
src/WebinoDraw/Service/DrawProfiler.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/WebinoDraw/Dom/Element.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use DOMElement;
14 14
 use DOMNode;
15 15
 use DOMText;
16
-use WebinoDraw\Exception;
17 16
 
18 17
 /**
19 18
  * Class Element
Please login to merge, or discard this patch.
src/WebinoDraw/View/Renderer/DrawRenderer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     protected $renderer;
33 33
 
34 34
     /**
35
-     * @param DrawService|object $draw
35
+     * @param DrawService $draw
36 36
      * @param RendererInterface|object $renderer
37 37
      */
38 38
     public function __construct(DrawService $draw, RendererInterface $renderer)
Please login to merge, or discard this patch.