Completed
Push — master ( 6f6f22...2260a7 )
by Kevin
09:28
created
src/Tokens/Attribute.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * Constructor
33
+     * @param string $name
33 34
      */
34 35
     public function __construct($name, $value)
35 36
     {
Please login to merge, or discard this patch.
src/Tokens/Element.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@  discard block
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * Constructor
21
+     * @param integer $line
22
+     * @param integer $position
23
+     * @param string $name
21 24
      */
22 25
     public function __construct(Configuration $configuration, $line, $position, $name, array $attributes = array())
23 26
     {
@@ -50,6 +53,9 @@  discard block
 block discarded – undo
50 53
         return $attributeArray;
51 54
     }
52 55
 
56
+    /**
57
+     * @param string $key
58
+     */
53 59
     public function getAttribute($key)
54 60
     {
55 61
         if (!$this->hasAttribute($key)) {
@@ -101,6 +107,9 @@  discard block
 block discarded – undo
101 107
         return $this;
102 108
     }
103 109
 
110
+    /**
111
+     * @param string $key
112
+     */
104 113
     public function removeAttribute($key)
105 114
     {
106 115
         $key = trim(strtolower($key));
@@ -466,6 +475,10 @@  discard block
 block discarded – undo
466 475
         return $output . $prefix . '</' . $this->name . '>' . $suffix;
467 476
     }
468 477
 
478
+    /**
479
+     * @param string $prefix
480
+     * @param string $suffix
481
+     */
469 482
     protected function buildStartTag($prefix, $suffix, $forceOpen = false)
470 483
     {
471 484
         $output = $prefix . '<' . $this->name;
@@ -480,6 +493,10 @@  discard block
 block discarded – undo
480 493
         return $output . '>' . $suffix;
481 494
     }
482 495
 
496
+    /**
497
+     * @param string $prefix
498
+     * @param string $suffix
499
+     */
483 500
     protected function buildChildrenHtml($prefix, $suffix)
484 501
     {
485 502
         $output = '';
Please login to merge, or discard this patch.