Completed
Push — master ( d21053...c59b30 )
by
unknown
08:11
created
engine/classes/Elgg/Http/Request.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -105,6 +105,7 @@
 block discarded – undo
105 105
 
106 106
 	/**
107 107
 	 * {@inheritdoc}
108
+	 * @return string
108 109
 	 */
109 110
 	public function getClientIp() {
110 111
 		$ip = parent::getClientIp();
Please login to merge, or discard this patch.
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
 }
26 26
\ No newline at end of file
Please login to merge, or discard this patch.
engine/classes/Elgg/I18n/Translator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
 	 *
346 346
 	 * @param string $language Language
347 347
 	 *
348
-	 * @return int
348
+	 * @return double
349 349
 	 */
350 350
 	function getLanguageCompleteness($language) {
351 351
 		
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 	/**
430 430
 	 * Returns an array of language codes.
431 431
 	 *
432
-	 * @return array
432
+	 * @return string[]
433 433
 	 */
434 434
 	public static function getAllLanguageCodes() {
435 435
 		return [
Please login to merge, or discard this patch.
engine/classes/Elgg/Notifications/NotificationsService.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -59,6 +59,8 @@  discard block
 block discarded – undo
59 59
 	/**
60 60
 	 * @see elgg_register_notification_event()
61 61
 	 * @access private
62
+	 * @param string $type
63
+	 * @param string $subtype
62 64
 	 */
63 65
 	public function registerEvent($type, $subtype, array $actions = array()) {
64 66
 
@@ -80,6 +82,8 @@  discard block
 block discarded – undo
80 82
 	/**
81 83
 	 * @see elgg_unregister_notification_event()
82 84
 	 * @access private
85
+	 * @param string $type
86
+	 * @param string $subtype
83 87
 	 */
84 88
 	public function unregisterEvent($type, $subtype) {
85 89
 
@@ -102,6 +106,7 @@  discard block
 block discarded – undo
102 106
 	/**
103 107
 	 * @see elgg_register_notification_method()
104 108
 	 * @access private
109
+	 * @param string $name
105 110
 	 */
106 111
 	public function registerMethod($name) {
107 112
 		$this->methods[$name] = $name;
@@ -110,6 +115,7 @@  discard block
 block discarded – undo
110 115
 	/**
111 116
 	 * @see elgg_unregister_notification_method()
112 117
 	 * @access private
118
+	 * @param string $name
113 119
 	 */
114 120
 	public function unregisterMethod($name) {
115 121
 		if (isset($this->methods[$name])) {
Please login to merge, or discard this patch.
engine/classes/Elgg/PersistentLoginService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@
 block discarded – undo
223 223
 	 * @param \DatabaseException $exception The exception to handle
224 224
 	 * @param string             $default   The value to return if the table doesn't exist yet
225 225
 	 * 
226
-	 * @return mixed
226
+	 * @return string|null
227 227
 	 *
228 228
 	 * @throws \DatabaseException
229 229
 	 */
Please login to merge, or discard this patch.
engine/classes/Elgg/Router.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 * modify the routing or handle a request.
34 34
 	 *
35 35
 	 * @param \Elgg\Http\Request $request The request to handle.
36
-	 * @return boolean Whether the request was routed successfully.
36
+	 * @return null|boolean Whether the request was routed successfully.
37 37
 	 * @access private
38 38
 	 */
39 39
 	public function route(\Elgg\Http\Request $request) {
Please login to merge, or discard this patch.
engine/classes/Elgg/Translit.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	/**
121 121
 	 * Get array of UTF-8 (NFC) character replacements.
122 122
 	 *
123
-	 * @return array
123
+	 * @return string
124 124
 	 */
125 125
 	static public function getAsciiTranslitMap() {
126 126
 		return array(
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 	/**
254 254
 	 * Tests that "normalizer_normalize" exists and works
255 255
 	 *
256
-	 * @return bool
256
+	 * @return boolean|null
257 257
 	 */
258 258
 	static public function hasNormalizerSupport() {
259 259
 		static $ret = null;
Please login to merge, or discard this patch.
engine/classes/Elgg/UpgradeService.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
 	 * Returns the version of the upgrade filename.
188 188
 	 *
189 189
 	 * @param string $filename The upgrade filename. No full path.
190
-	 * @return int|false
190
+	 * @return string
191 191
 	 * @since 1.8.0
192 192
 	 */
193 193
 	protected function getUpgradeFileVersion($filename) {
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
 	 * Control is then passed back to the main upgrade function which detects and runs the
303 303
 	 * 1.8 upgrades, regardless of filename convention.
304 304
 	 *
305
-	 * @return bool
305
+	 * @return boolean|null
306 306
 	 */
307 307
 	protected function bootstrap17to18() {
308 308
 		$db_version = (int) _elgg_services()->datalist->get('version');
Please login to merge, or discard this patch.
engine/classes/Elgg/ViewsService.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@  discard block
 block discarded – undo
84 84
 
85 85
 	/**
86 86
 	 * @access private
87
+	 * @param string $view_base
88
+	 * @param string $folder
89
+	 * @param string $viewtype
87 90
 	 */
88 91
 	public function autoregisterViews($view_base, $folder, $base_location_path, $viewtype) {
89 92
 		$handle = opendir($folder);
@@ -133,6 +136,7 @@  discard block
 block discarded – undo
133 136
 
134 137
 	/**
135 138
 	 * @access private
139
+	 * @param string $view
136 140
 	 */
137 141
 	public function setViewLocation($view, $location, $viewtype = '') {
138 142
 		
@@ -162,6 +166,7 @@  discard block
 block discarded – undo
162 166
 
163 167
 	/**
164 168
 	 * @access private
169
+	 * @param string $viewtype
165 170
 	 */
166 171
 	public function registerViewtypeFallback($viewtype) {
167 172
 		
@@ -179,6 +184,7 @@  discard block
 block discarded – undo
179 184
 
180 185
 	/**
181 186
 	 * @access private
187
+	 * @param string $viewtype
182 188
 	 */
183 189
 	public function doesViewtypeFallback($viewtype) {
184 190
 		
@@ -213,6 +219,7 @@  discard block
 block discarded – undo
213 219
 
214 220
 	/**
215 221
 	 * @access private
222
+	 * @param string $view
216 223
 	 */
217 224
 	public function renderView($view, array $vars = array(), $bypass = false, $viewtype = '', $issue_missing_notice = true) {
218 225
 		
@@ -403,6 +410,7 @@  discard block
 block discarded – undo
403 410
 
404 411
 	/**
405 412
 	 * @access private
413
+	 * @param string $view
406 414
 	 */
407 415
 	public function viewExists($view, $viewtype = '', $recurse = true) {
408 416
 		
@@ -452,6 +460,8 @@  discard block
 block discarded – undo
452 460
 
453 461
 	/**
454 462
 	 * @access private
463
+	 * @param string $view
464
+	 * @param string $view_extension
455 465
 	 */
456 466
 	public function extendView($view, $view_extension, $priority = 501, $viewtype = '') {
457 467
 		
@@ -479,6 +489,8 @@  discard block
 block discarded – undo
479 489
 
480 490
 	/**
481 491
 	 * @access private
492
+	 * @param string $view
493
+	 * @param string $view_extension
482 494
 	 */
483 495
 	public function unextendView($view, $view_extension) {
484 496
 		
@@ -507,6 +519,7 @@  discard block
 block discarded – undo
507 519
 
508 520
 	/**
509 521
 	 * @access private
522
+	 * @param string $view
510 523
 	 */
511 524
 	public function registerCacheableView($view) {
512 525
 		
@@ -524,6 +537,7 @@  discard block
 block discarded – undo
524 537
 
525 538
 	/**
526 539
 	 * @access private
540
+	 * @param string $view
527 541
 	 */
528 542
 	public function isCacheableView($view) {
529 543
 		
Please login to merge, or discard this patch.