Completed
Branch boring_stuff_2 (8c6745)
by Emanuele
10:34
created
sources/ElkArte/Search/API/Standard.php 1 patch
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,6 +119,8 @@  discard block
 block discarded – undo
119 119
 	 * Grabs results when the search is performed only within the subject
120 120
 	 *
121 121
 	 * @param int $id_search - the id of the search
122
+	 * @param string[] $search_words
123
+	 * @param string[] $excluded_words
122 124
 	 *
123 125
 	 * @return int - number of results otherwise
124 126
 	 */
@@ -249,7 +251,7 @@  discard block
 block discarded – undo
249 251
 	 *
250 252
 	 * @param int $id_search - the id of the search
251 253
 	 *
252
-	 * @return bool|int - boolean (false) in case of errors, number of results otherwise
254
+	 * @return integer - boolean (false) in case of errors, number of results otherwise
253 255
 	 */
254 256
 	public function getResults($id_search)
255 257
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Search/Search.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@
 block discarded – undo
172 172
 	 *
173 173
 	 * @param string $name - name of the search parameters
174 174
 	 *
175
-	 * @return bool|mixed - the value of the parameter
175
+	 * @return string - the value of the parameter
176 176
 	 */
177 177
 	public function param($name)
178 178
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Search/SearchApiWrapper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
 	 * Wrapper for topicMerge of the SearchAPI
92 92
 	 *
93 93
 	 * @param int $id_topic
94
-	 * @param mixed[] $topics
94
+	 * @param integer[] $topics
95 95
 	 * @param int[] $affected_msgs
96 96
 	 * @param string[] $subject array($response_prefix, $target_subject)
97 97
 	 */
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 	/**
144 144
 	 * Wrapper for setExcludedPhrases of the SearchAPI
145 145
 	 *
146
-	 * @param string[] $phrases An array of phrases to exclude
146
+	 * @param string[] $phrase An array of phrases to exclude
147 147
 	 */
148 148
 	public function setExcludedPhrases($phrase)
149 149
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Search/SearchArray.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 	/**
89 89
 	 * Builds the search array
90 90
 	 *
91
-	 * @return array
91
+	 * @return string[]
92 92
 	 */
93 93
 	protected function searchArray()
94 94
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Sessions/SessionHandler/DatabaseHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
 	/**
39 39
 	 * Make "global" items available to the class
40 40
 	 *
41
-	 * @param object|null $db
41
+	 * @param \ElkArte\Database\QueryInterface $db
42 42
 	 */
43 43
 	public function __construct($db = null)
44 44
 	{
Please login to merge, or discard this patch.
sources/ElkArte/TopicsMerge.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 	/**
133 133
 	 * The first error occurred
134 134
 	 *
135
-	 * @return array|string
135
+	 * @return string|null
136 136
 	 */
137 137
 	public function firstError()
138 138
 	{
Please login to merge, or discard this patch.
sources/ElkArte/Unread.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 	 *                       the messages table
218 218
 	 * @param int $start - position to start the query
219 219
 	 * @param int $limit - number of entries to grab
220
-	 * @param bool|int $include_avatars - if avatars should be retrieved as well
220
+	 * @param boolean $include_avatars - if avatars should be retrieved as well
221 221
 	 * @return mixed[] - see \ElkArte\TopicUtil::prepareContext
222 222
 	 */
223 223
 	private function _getUnreadTopics($join, $start, $limit, $include_avatars = false)
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
 	 *
382 382
 	 * @param int $start - position to start the query
383 383
 	 * @param int $limit - number of entries to grab
384
-	 * @param bool|int $include_avatars - if avatars should be retrieved as well
384
+	 * @param boolean $include_avatars - if avatars should be retrieved as well
385 385
 	 * @return mixed[]|bool - see \ElkArte\TopicUtil::prepareContext
386 386
 	 */
387 387
 	private function _getUnreadReplies($start, $limit, $include_avatars = false)
Please login to merge, or discard this patch.
sources/ElkArte/UrlGenerator/UrlGenerator.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	/**
86 86
 	 * Adds a new UrlGenerator (e.g. standard, semantic, etc.)
87 87
 	 *
88
-	 * @param object|string $generator
88
+	 * @param string $generator
89 89
 	 */
90 90
 	public function register($generator)
91 91
 	{
@@ -96,7 +96,6 @@  discard block
 block discarded – undo
96 96
 	 * Initialized the URL generator (i.e. instantiate the class if needed)
97 97
 	 * and sets the generators according to the types they support.
98 98
 	 *
99
-	 * @param object|string $generator
100 99
 	 */
101 100
 	protected function _initGen($name)
102 101
 	{
Please login to merge, or discard this patch.
sources/ElkArte/User.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 	 * Reload all the important user information into the static variables
87 87
 	 * based on the \ElkArte\UserSettings object passed to it
88 88
 	 *
89
-	 * @param \ElkArte\UserSettings $user An user
89
+	 * @param UserSettingsLoader $user An user
90 90
 	 * @param bool $compat_mode if true sets the deprecated $user_info global
91 91
 	 */
92 92
 	public static function reloadByUser(\ElkArte\UserSettingsLoader $user, $compat_mode = false)
Please login to merge, or discard this patch.