Completed
Push — master ( fab0a4...8e249d )
by Jeroen
41:43 queued 16:43
created
engine/classes/Elgg/I18n/MessageBundle.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 	 * @param string $key    String identifier for the message
20 20
 	 * @param Locale $locale Locale in which the message is written
21 21
 	 *
22
-	 * @return ?MessageTemplate The message object or null if not found.
22
+	 * @return null|SprintfMessageTemplate The message object or null if not found.
23 23
 	 */
24 24
 	public function get($key, Locale $locale);
25 25
 }
Please login to merge, or discard this patch.
engine/classes/Elgg/PluginHooksService.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -71,6 +71,8 @@
 block discarded – undo
71 71
 
72 72
 	/**
73 73
 	 * {@inheritdoc}
74
+	 * @param string $type
75
+	 * @param callable $callback
74 76
 	 */
75 77
 	public function registerHandler($name, $type, $callback, $priority = 500) {
76 78
 		if (($name == 'view' || $name == 'view_vars') && $type !== 'all') {
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/MetadataTable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 	 *
73 73
 	 * @param int $id The id of the metadata object being retrieved.
74 74
 	 *
75
-	 * @return \ElggMetadata|false  false if not found
75
+	 * @return \ElggExtender  false if not found
76 76
 	 */
77 77
 	function get($id) {
78 78
 		return _elgg_get_metastring_based_object_from_id($id, 'metadata');
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
 	 *
724 724
 	 * @param int $id Metadata ID
725 725
 	 *
726
-	 * @return mixed
726
+	 * @return string|false
727 727
 	 */
728 728
 	function getUrl($id) {
729 729
 		$extender = $this->get($id);
Please login to merge, or discard this patch.
engine/lib/metadata.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
  *
31 31
  * @param int $id The id of the metadata object being retrieved.
32 32
  *
33
- * @return \ElggMetadata|false  false if not found
33
+ * @return ElggExtender  false if not found
34 34
  */
35 35
 function elgg_get_metadata_from_id($id) {
36 36
 	return _elgg_services()->metadataTable->get($id);
@@ -258,7 +258,7 @@  discard block
 block discarded – undo
258 258
  *
259 259
  * @param array $options Options array
260 260
  *
261
- * @return array
261
+ * @return string
262 262
  * @since 1.7.0
263 263
  */
264 264
 function elgg_list_entities_from_metadata($options) {
@@ -322,7 +322,7 @@  discard block
 block discarded – undo
322 322
  *
323 323
  * @param int $id Metadata ID
324 324
  *
325
- * @return mixed
325
+ * @return string|false
326 326
  */
327 327
 function get_metadata_url($id) {
328 328
 	return _elgg_services()->metadataTable->getUrl($id);
Please login to merge, or discard this patch.
mod/uservalidationbyemail/start.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
  * Checks if an account is validated
147 147
  *
148 148
  * @params array $credentials The username and password
149
- * @return bool
149
+ * @return boolean|null
150 150
  */
151 151
 function uservalidationbyemail_check_auth_attempt($credentials) {
152 152
 
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
  * @param string   $event
231 231
  * @param string   $type
232 232
  * @param ElggUser $user
233
- * @return bool
233
+ * @return boolean|null
234 234
  *
235 235
  * @throws LoginException
236 236
  */
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/AccessCollections.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -711,7 +711,7 @@
 block discarded – undo
711 711
 	 * @see get_members_of_access_collection()
712 712
 	 *
713 713
 	 * @param int $collection_id The collection ID
714
-	 * @return \ElggAccessCollection|false
714
+	 * @return string
715 715
 	 */
716 716
 	public function get($collection_id) {
717 717
 
Please login to merge, or discard this patch.
engine/lib/actions.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
  *
152 152
  * @param string $action The action being performed
153 153
  *
154
- * @return mixed True if valid or redirects.
154
+ * @return boolean True if valid or redirects.
155 155
  * @access private
156 156
  */
157 157
 function action_gatekeeper($action) {
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 /**
183 183
  * Regenerate a new site key (32 bytes: "z" to indicate format + 186-bit key in Base64 URL).
184 184
  *
185
- * @return mixed The site secret hash
185
+ * @return string The site secret hash
186 186
  * @access private
187 187
  */
188 188
 function init_site_secret() {
Please login to merge, or discard this patch.
engine/lib/output.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -311,7 +311,7 @@
 block discarded – undo
311 311
  *
312 312
  * @param string $unsafe_url URL from untrusted input
313 313
  *
314
- * @return bool|string Normalized URL or false if given URL was not a path.
314
+ * @return false|string Normalized URL or false if given URL was not a path.
315 315
  *
316 316
  * @since 3.0.0
317 317
  */
Please login to merge, or discard this patch.
engine/classes/Elgg/Database/EntityTable.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	 * @param int $user_guid GUID of the user accessing the row
146 146
 	 *                       Defaults to logged in user if null
147 147
 	 *                       Builds an access query for a logged out user if 0
148
-	 * @return stdClass|false
148
+	 * @return stdClass
149 149
 	 * @access private
150 150
 	 */
151 151
 	public function getRow($guid, $user_guid = null) {
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 	 *                             Used by database mock services to allow mocking
178 178
 	 *                             entities that were instantiated using new keyword
179 179
 	 *                             and calling ElggEntity::save()
180
-	 * @return int|false
180
+	 * @return integer
181 181
 	 */
182 182
 	public function insertRow(stdClass $row, array $attributes = []) {
183 183
 
@@ -727,7 +727,7 @@  discard block
 block discarded – undo
727 727
 	 * safe to do so.
728 728
 	 *
729 729
 	 * @param array $options Options array in getEntities() after normalization
730
-	 * @return array
730
+	 * @return string
731 731
 	 */
732 732
 	protected function autoJoinTables(array $options) {
733 733
 		// we must be careful that the query doesn't specify any options that may join
Please login to merge, or discard this patch.