Completed
Push — master ( 939cef...4aee11 )
by Kacper
03:59
created
Xml/XmlElement.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
      *
260 260
      * @param string      $attribute Attribute name, optionally with prefix
261 261
      * @param string|null $uri       XML Namespace URI of attribute, prefix will be automatically looked up
262
-     * @return bool|mixed
262
+     * @return string
263 263
      */
264 264
     public function getAttribute(string $attribute, string $uri = null)
265 265
     {
@@ -335,6 +335,9 @@  discard block
 block discarded – undo
335 335
         return $this->appendChild($element);
336 336
     }
337 337
 
338
+    /**
339
+     * @param XmlElement $element
340
+     */
338 341
     public function remove($element)
339 342
     {
340 343
         $this->_children = array_filter($this->_children, not(filter\same($element)));
Please login to merge, or discard this patch.
XmppClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -200,7 +200,7 @@
 block discarded – undo
200 200
      * Registers module in client's dependency container.
201 201
      *
202 202
      * @param ComponentInterface $module    Module to be registered
203
-     * @param bool|string|array  $alias     Module alias, class name by default.
203
+     * @param string|boolean  $alias     Module alias, class name by default.
204 204
      *                                      `true` for aliasing interfaces and parents too,
205 205
      *                                      `false` for aliasing as class name only
206 206
      *                                      array for multiple aliases,
Please login to merge, or discard this patch.