Completed
Push — master ( 0777f1...91ab9a )
by Kevin
03:18
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   +15 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * Constructor
21
+     * @param string $name
21 22
      */
22 23
     public function __construct(Configuration $configuration, $name, array $attributes = array())
23 24
     {
@@ -50,6 +51,9 @@  discard block
 block discarded – undo
50 51
         return $attributeArray;
51 52
     }
52 53
 
54
+    /**
55
+     * @param string $key
56
+     */
53 57
     public function getAttribute($key)
54 58
     {
55 59
         if (!$this->hasAttribute($key)) {
@@ -101,6 +105,9 @@  discard block
 block discarded – undo
101 105
         return $this;
102 106
     }
103 107
 
108
+    /**
109
+     * @param string $key
110
+     */
104 111
     public function removeAttribute($key)
105 112
     {
106 113
         $key = trim(strtolower($key));
@@ -466,6 +473,10 @@  discard block
 block discarded – undo
466 473
         return $output . $prefix . '</' . $this->name . '>' . $suffix;
467 474
     }
468 475
 
476
+    /**
477
+     * @param string $prefix
478
+     * @param string $suffix
479
+     */
469 480
     protected function buildStartTag($prefix, $suffix, $forceOpen = false)
470 481
     {
471 482
         $output = $prefix . '<' . $this->name;
@@ -480,6 +491,10 @@  discard block
 block discarded – undo
480 491
         return $output . '>' . $suffix;
481 492
     }
482 493
 
494
+    /**
495
+     * @param string $prefix
496
+     * @param string $suffix
497
+     */
483 498
     protected function buildChildrenHtml($prefix, $suffix)
484 499
     {
485 500
         $output = '';
Please login to merge, or discard this patch.
src/Tokens/Elements/Menu.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace Groundskeeper\Tokens\Elements;
4 4
 
5 5
 use Groundskeeper\Tokens\Attribute;
6
-use Groundskeeper\Tokens\Element;
7 6
 use Groundskeeper\Tokens\ElementTypes\FlowContent;
8 7
 use Groundskeeper\Tokens\ElementTypes\OpenElement;
9 8
 use Groundskeeper\Tokens\NonParticipating;
Please login to merge, or discard this patch.