Completed
Push — master ( f6cba5...5dbfda )
by Kacper
04:56
created
Xml/XmlElement.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -159,6 +159,9 @@  discard block
 block discarded – undo
159 159
         return $this->children;
160 160
     }
161 161
 
162
+    /**
163
+     * @param string $value
164
+     */
162 165
     public function setContent($value)
163 166
     {
164 167
         $this->_children = [];
@@ -259,7 +262,7 @@  discard block
 block discarded – undo
259 262
      *
260 263
      * @param string      $attribute Attribute name, optionally with prefix
261 264
      * @param string|null $uri       XML Namespace URI of attribute, prefix will be automatically looked up
262
-     * @return bool|mixed
265
+     * @return string
263 266
      */
264 267
     public function getAttribute(string $attribute, string $uri = null)
265 268
     {
@@ -481,7 +484,7 @@  discard block
 block discarded – undo
481 484
      *
482 485
      * @param callable|string $predicate Predicate or class name
483 486
      *
484
-     * @return XmlElement|false
487
+     * @return XmlElement|null
485 488
      */
486 489
     public function get($predicate)
487 490
     {
Please login to merge, or discard this patch.