Completed
Branch boring_stuff_2 (8c6745)
by Emanuele
10:34
created
sources/ElkArte/Http/CurlFetchWebdata.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
 	 * - Calls _setOptions to set the curl opts array values based on the defaults and user input
125 125
 	 *
126 126
 	 * @param string $url the site we are going to fetch
127
-	 * @param mixed[]|string $post_data data to send in the curl request as post data
127
+	 * @param string $post_data data to send in the curl request as post data
128 128
 	 *
129 129
 	 * @return CurlFetchWebdata
130 130
 	 */
Please login to merge, or discard this patch.
sources/ElkArte/Http/FsockFetchWebdata.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 	 * Prepares any post data supplied and then makes the request for data
83 83
 	 *
84 84
 	 * @param string $url
85
-	 * @param string|string[] $post_data
85
+	 * @param string $post_data
86 86
 	 *
87 87
 	 */
88 88
 	public function get_url_data($url, $post_data = '')
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
 	 *
447 447
 	 * @param string $area used to return an area such as body, header, error
448 448
 	 *
449
-	 * @return string|string[]
449
+	 * @return string
450 450
 	 */
451 451
 	public function result($area = '')
452 452
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Http/StreamFetchWebdata.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
 	 * Prepares any post data supplied and then makes the request for data
68 68
 	 *
69 69
 	 * @param string $url
70
-	 * @param string|string[] $post_data
70
+	 * @param string $post_data
71 71
 	 */
72 72
 	public function get_url_data($url, $post_data = '')
73 73
 	{
Please login to merge, or discard this patch.
sources/ElkArte/IlaIntegrate.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 	 * - Determines the best image, full or thumbnail, based on ILA width desired
269 269
 	 * - Used as PARAM_ATTR_VALIDATE function
270 270
 	 *
271
-	 * @return string
271
+	 * @return \Closure
272 272
 	 */
273 273
 	public static function validate_width()
274 274
 	{
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
294 294
 	 * - Determines the best image, full or thumbnail, based on desired ILA height
295 295
 	 * - Used as PARAM_ATTR_VALIDATE function
296 296
 	 *
297
-	 * @return string
297
+	 * @return \Closure
298 298
 	 */
299 299
 	public static function validate_height()
300 300
 	{
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
 	 * - Determines if the ILA is an image or not
321 321
 	 * - Keeps track of attachment usage to prevent displaying below the post
322 322
 	 *
323
-	 * @return object
323
+	 * @return \Closure
324 324
 	 */
325 325
 	public static function validate_url()
326 326
 	{
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
 	 * - Sets the lightbox attributes if an image is identified
372 372
 	 * - Keeps track of attachment usage to prevent displaying below the post
373 373
 	 *
374
-	 * @return object
374
+	 * @return \Closure
375 375
 	 */
376 376
 	public static function validate_plain()
377 377
 	{
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
 	 *
429 429
 	 * - Keeps track of attachment usage to prevent displaying below the post
430 430
 	 *
431
-	 * @return object
431
+	 * @return \Closure
432 432
 	 */
433 433
 	public static function validate_options()
434 434
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Mentions/Mentioning.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 	/**
104 104
 	 * Inserts a new mention.
105 105
 	 *
106
-	 * @param ElkArte\Mentions\MentionType\\ElkArte\Mentions\MentionType\MentionTypeInterface $mention_obj The object that knows how to store
106
+	 * @param MentionType\MentionTypeInterface $mention_obj The object that knows how to store
107 107
 	 *  the mention in the database
108 108
 	 * @param mixed[] $data must contain uid, type and msg at a minimum
109 109
 	 *
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
 	 * - when a user was already mentioned for a certain message (e.g. in case of editing)
286 286
 	 *
287 287
 	 * @package Mentions
288
-	 * @param int|int[] $id_mentions the mention id in the db
288
+	 * @param integer[] $id_mentions the mention id in the db
289 289
 	 * @param string $status status to update, 'new', 'read', 'deleted', 'unapproved'
290 290
 	 * @return bool if successfully changed or not
291 291
 	 */
Please login to merge, or discard this patch.
sources/ElkArte/MessagesCallback/Renderer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -90,6 +90,7 @@
 block discarded – undo
90 90
 	 * @param Object $request
91 91
 	 * @param BodyParserInterface $bodyParser
92 92
 	 * @param ValuesContainer $opt
93
+	 * @param BodyParserInterface $user
93 94
 	 * @throws \Exception
94 95
 	 */
95 96
 	public function __construct($request, $user, BodyParserInterface $bodyParser, ValuesContainer $opt = null)
Please login to merge, or discard this patch.
sources/ElkArte/MessagesCallback/SearchRenderer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@
 block discarded – undo
38 38
 
39 39
 	/**
40 40
 	 * {@inheritdoc }
41
+	 * @param resource $request
41 42
 	 */
42 43
 	public function __construct($request, BodyParserInterface $bodyParser, ValuesContainer $opt = null)
43 44
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Modules/Drafts/PersonalMessage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
 	 * - Will load a draft if selected is supplied via post
197 197
 	 *
198 198
 	 * @param int $member_id
199
-	 * @param int|bool $id_pm = false if set, it will try to load drafts for this id
199
+	 * @param integer $id_pm = false if set, it will try to load drafts for this id
200 200
 	 *
201 201
 	 * @return bool
202 202
 	 */
Please login to merge, or discard this patch.
sources/ElkArte/Modules/Drafts/Post.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -268,8 +268,8 @@
 block discarded – undo
268 268
 	 * - Will load a draft if selected is supplied via post
269 269
 	 *
270 270
 	 * @param int $member_id
271
-	 * @param int|bool $id_topic if set, load drafts for the specified topic
272
-	 * @return false|null
271
+	 * @param integer $id_topic if set, load drafts for the specified topic
272
+	 * @return boolean
273 273
 	 */
274 274
 	protected function _prepareDraftsContext($member_id, $id_topic = false)
275 275
 	{
Please login to merge, or discard this patch.