Completed
Branch boring_stuff_2 (8c6745)
by Emanuele
10:34
created
sources/database/Database.subs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
  * This function retrieves an existing instance of \ElkArte\AbstractTable
85 85
  * and returns it.
86 86
  *
87
- * @param object|null $db - A database object (e.g. \ElkArte\Mysqli\Query)
87
+ * @param ElkArte\Database\QueryInterface $db - A database object (e.g. \ElkArte\Mysqli\Query)
88 88
  * @param bool $fatal - Stop the execution or throw an \Exception
89 89
  *
90 90
  * @return \ElkArte\Database\AbstractTable
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/ManageNews.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -523,7 +523,7 @@
 block discarded – undo
523 523
 	 *
524 524
 	 * @param bool $clean_only = false; if set, it will only clean the variables, put them in context, then return.
525 525
 	 *
526
-	 * @return null|void
526
+	 * @return null|boolean
527 527
 	 * @throws \ElkArte\Exceptions\Exception
528 528
 	 */
529 529
 	public function action_mailingsend($clean_only = false)
Please login to merge, or discard this patch.
sources/ElkArte/AdminController/Reports.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -740,7 +740,7 @@
 block discarded – undo
740 740
  * @param mixed[] $inc_data
741 741
  * @param int|null $custom_table = null
742 742
  *
743
- * @return bool
743
+ * @return false|null
744 744
  */
745 745
 function addData($inc_data, $custom_table = null)
746 746
 {
Please login to merge, or discard this patch.
sources/ElkArte/Agreement.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	 *
87 87
 	 * @param string $text the language of the agreement we want.
88 88
 	 * @param bool $update_backup if store a copy of the text of the agreements.
89
-	 * @return bool|string
89
+	 * @return false|string
90 90
 	 */
91 91
 	public function save($text, $update_backup = false)
92 92
 	{
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 	/**
108 108
 	 * Creates a backup of the current version of the agreement/s.
109 109
 	 *
110
-	 * @return string|bool the backup_id if successful, false if creating the backup fails
110
+	 * @return false|string the backup_id if successful, false if creating the backup fails
111 111
 	 */
112 112
 	public function storeBackup()
113 113
 	{
Please login to merge, or discard this patch.
sources/ElkArte/BBC/HtmlParser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
 	/**
48 48
 	 * Calls the functions to parse the handful of allowable HTML tags
49 49
 	 *
50
-	 * @param $data
50
+	 * @param string $data
51 51
 	 *
52 52
 	 * @return string
53 53
 	 */
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	/**
139 139
 	 * Converts <img tags to [IMG bbc code while handing height and width attributes
140 140
 	 *
141
-	 * @param $data
141
+	 * @param string $data
142 142
 	 *
143 143
 	 * @return string
144 144
 	 */
Please login to merge, or discard this patch.
sources/ElkArte/BBC/SmileyParser.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@  discard block
 block discarded – undo
37 37
 	 * SmileyParser constructor.
38 38
 	 *
39 39
 	 * @param string $path
40
-	 * @param array $smileys
41 40
 	 */
42 41
 	public function __construct($path)
43 42
 	{
@@ -102,7 +101,7 @@  discard block
 block discarded – undo
102 101
 	 *
103 102
 	 * @param string $message
104 103
 	 *
105
-	 * @return null|string|string[]
104
+	 * @return string
106 105
 	 */
107 106
 	public function parseBlock($message)
108 107
 	{
Please login to merge, or discard this patch.
sources/ElkArte/BoardsTree.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -233,6 +233,9 @@
 block discarded – undo
233 233
 		return isset($this->boards[$id]);
234 234
 	}
235 235
 
236
+	/**
237
+	 * @return integer
238
+	 */
236 239
 	public function getBoardById($id)
237 240
 	{
238 241
 		if (isset($this->boards[$id]))
Please login to merge, or discard this patch.
sources/ElkArte/Controller/Auth.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -597,6 +597,7 @@
 block discarded – undo
597 597
 	 * @param string $member_name
598 598
 	 * @param string $passwrd
599 599
 	 * @param string $password_salt
600
+	 * @param string|null $posted_password
600 601
 	 *
601 602
 	 * @return array
602 603
 	 */
Please login to merge, or discard this patch.
sources/ElkArte/Controller/ProfileOptions.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -530,7 +530,7 @@
 block discarded – undo
530 530
 	 *
531 531
 	 * @param bool $saving = false
532 532
 	 *
533
-	 * @return bool
533
+	 * @return boolean|null
534 534
 	 * @throws \ElkArte\Exceptions\Exception
535 535
 	 */
536 536
 	public function action_authentication($saving = false)
Please login to merge, or discard this patch.