Completed
Pull Request — master (#86)
by
unknown
21:30
created
src/Stream/XMLStream.php 1 patch
Doc Comments   +2 added lines, -6 removed lines patch added patch discarded remove patch
@@ -176,6 +176,7 @@  discard block
 block discarded – undo
176 176
      *
177 177
      * Method resets the parser instance if <?xml is found. Overwise it clears the DOM document.
178 178
      *
179
+     * @param string $source
179 180
      * @return void
180 181
      */
181 182
     protected function clearDocument($source)
@@ -203,9 +204,6 @@  discard block
 block discarded – undo
203 204
     /**
204 205
      * Starting tag found.
205 206
      *
206
-     * @param resource $parser  XML parser
207
-     * @param string   $name    Element name
208
-     * @param attribs  $attribs Element attributes
209 207
      * @return void
210 208
      */
211 209
     protected function startXml()
@@ -322,8 +320,6 @@  discard block
 block discarded – undo
322 320
     /**
323 321
      * Data found.
324 322
      *
325
-     * @param resource $parser XML parser
326
-     * @param string   $data   Element data
327 323
      * @return void
328 324
      */
329 325
     protected function dataXml()
@@ -340,7 +336,7 @@  discard block
 block discarded – undo
340 336
      *
341 337
      * @param string  $event
342 338
      * @param boolean $startTag
343
-     * @param array   $params
339
+     * @param \DOMElement[]   $params
344 340
      * @return void
345 341
      */
346 342
     protected function cacheEvent($event, $startTag, $params)
Please login to merge, or discard this patch.
src/Util/XML.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -68,8 +68,6 @@
 block discarded – undo
68 68
      * <b>Hint:</b> this function works like <code>sprintf</code>
69 69
      *
70 70
      * @param string $message
71
-     * @param mixed  $args
72
-     * @param mixed  $...
73 71
      * @return string
74 72
      */
75 73
     public static function quoteMessage($message)
Please login to merge, or discard this patch.
src/Options.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -358,7 +358,6 @@
 block discarded – undo
358 358
     /**
359 359
      * Set users jid.
360 360
      *
361
-     * @param string $jid
362 361
      * @return $this
363 362
      */
364 363
     public function setSid($sid)
Please login to merge, or discard this patch.
src/Protocol/Register.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,9 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * Constructor.
28 28
      *
29
-     * @param integer $priority
30 29
      * @param string $to
31
-     * @param string $nickname
32 30
      */
33 31
     public function __construct($to = null, $from = null, $step = 'one')
34 32
     {
@@ -102,7 +100,6 @@  discard block
 block discarded – undo
102 100
     /**
103 101
      * Set abberID.
104 102
      *
105
-     * @param string $nickname
106 103
      * @return $this
107 104
      */
108 105
     public function setJabberID($accountjid)
@@ -124,7 +121,7 @@  discard block
 block discarded – undo
124 121
     /**
125 122
      * Set abberID.
126 123
      *
127
-     * @param string $nickname
124
+     * @param string|null $to
128 125
      * @return $this
129 126
      */
130 127
     public function setTo($to)
@@ -145,7 +142,6 @@  discard block
 block discarded – undo
145 142
     /**
146 143
      * Set abberID.
147 144
      *
148
-     * @param string $nickname
149 145
      * @return $this
150 146
      */
151 147
     public function setPassword($password)
@@ -167,7 +163,6 @@  discard block
 block discarded – undo
167 163
     /**
168 164
      * Set abberID.
169 165
      *
170
-     * @param string $nickname
171 166
      * @return $this
172 167
      */
173 168
     public function setFrom($from)
@@ -176,6 +171,9 @@  discard block
 block discarded – undo
176 171
         return $this;
177 172
     }
178 173
 
174
+    /**
175
+     * @param string $step
176
+     */
179 177
     public function setStep($step)
180 178
     {
181 179
         $this->step = (string) $step;
Please login to merge, or discard this patch.
src/Protocol/UnblockUser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,6 @@
 block discarded – undo
76 76
     /**
77 77
      * Set abberID.
78 78
      *
79
-     * @param string $nickname
80 79
      * @return $this
81 80
      */
82 81
     public function setJabberID($accountjid)
Please login to merge, or discard this patch.
src/Protocol/Presence.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
     /**
198 198
      * Get to.
199 199
      *
200
-     * @return string¦null
200
+     * @return string|null
201 201
      */
202 202
     public function getTo()
203 203
     {
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
     /**
242 242
      * Get channel password.
243 243
      *
244
-     * @return string¦null
244
+     * @return string
245 245
      */
246 246
     public function getPassword()
247 247
     {
@@ -251,7 +251,6 @@  discard block
 block discarded – undo
251 251
     /**
252 252
      * Set channel password.
253 253
      *
254
-     * @param string|null $to
255 254
      * @return $this
256 255
      */
257 256
     public function setPassword($password = null)
Please login to merge, or discard this patch.
src/Protocol/BlockUser.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,6 @@
 block discarded – undo
102 102
     /**
103 103
      * Set abberID.
104 104
      *
105
-     * @param string $nickname
106 105
      * @return $this
107 106
      */
108 107
     public function setFrom($from)
Please login to merge, or discard this patch.
src/Protocol/VCard.php 1 patch
Doc Comments   -7 removed lines patch added patch discarded remove patch
@@ -45,9 +45,6 @@  discard block
 block discarded – undo
45 45
     /**
46 46
      * Constructor.
47 47
      *
48
-     * @param integer $priority
49
-     * @param string $to
50
-     * @param string $nickname
51 48
      */
52 49
     public function __construct($firstname = null, $lastname = null,  $jabberid = null)
53 50
     {
@@ -107,7 +104,6 @@  discard block
 block discarded – undo
107 104
     /**
108 105
      * Set nickname.
109 106
      *
110
-     * @param string $nickname
111 107
      * @return $this
112 108
      */
113 109
     public function setFirstname($firstname)
@@ -129,7 +125,6 @@  discard block
 block discarded – undo
129 125
     /**
130 126
      * Set nickname.
131 127
      *
132
-     * @param string $nickname
133 128
      * @return $this
134 129
      */
135 130
     public function setLastname($lastname)
@@ -151,7 +146,6 @@  discard block
 block discarded – undo
151 146
     /**
152 147
      * Set abberID.
153 148
      *
154
-     * @param string $nickname
155 149
      * @return $this
156 150
      */
157 151
     public function setJabberID($jabberid)
@@ -217,7 +211,6 @@  discard block
 block discarded – undo
217 211
     /**
218 212
      * Set url.
219 213
      *
220
-     * @param string $image base64
221 214
      * @return $this
222 215
      */
223 216
     public function setUrl($url)
Please login to merge, or discard this patch.