Completed
Push — master ( 26824d...9bbb30 )
by Kevin
02:15
created
src/Tokens/Element.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
         return $this->parseContents($remainingHtml);
140 140
     }
141 141
 
142
+    /**
143
+     * @param string $html
144
+     */
142 145
     private function parseAttribute($html)
143 146
     {
144 147
         // Will match the first entire name/value attribute pair.
@@ -180,6 +183,9 @@  discard block
 block discarded – undo
180 183
         return substr($html, $posOfAttribute + strlen($attributeMatches[2]));
181 184
     }
182 185
 
186
+    /**
187
+     * @param string $html
188
+     */
183 189
     private function parseContents($html)
184 190
     {
185 191
         $remainingHtml = trim($html);
@@ -212,7 +218,7 @@  discard block
 block discarded – undo
212 218
     /**
213 219
      * Will get the element name from the html string.
214 220
      *
215
-     * @param $html string
221
+     * @param string $html string
216 222
      *
217 223
      * @return string The element name.
218 224
      */
Please login to merge, or discard this patch.