Passed
Push — master ( 4c7da5...a55b86 )
by Ilia
09:52
created
engine/classes/ElggPluginManifestParser17.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 	/**
25 25
 	 * Parse a manifest object from 1.7 or earlier.
26 26
 	 *
27
-	 * @return void
27
+	 * @return boolean
28 28
 	 */
29 29
 	public function parse() {
30 30
 		if (!isset($this->manifestObject->children)) {
Please login to merge, or discard this patch.
engine/classes/ElggPluginPackage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -558,7 +558,7 @@
 block discarded – undo
558 558
 	 * Checks if $elgg_version meets the requirement by $dep.
559 559
 	 *
560 560
 	 * @param array $dep          An Elgg manifest.xml deps array
561
-	 * @param array $elgg_version An Elgg version (either YYYYMMDDXX or X.Y.Z)
561
+	 * @param string|false $elgg_version An Elgg version (either YYYYMMDDXX or X.Y.Z)
562 562
 	 * @param bool  $inverse      Inverse the result to use as a conflicts.
563 563
 	 * @return bool
564 564
 	 */
Please login to merge, or discard this patch.
engine/classes/ElggPriorityList.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 	/**
232 232
 	 * Sort the elements if they haven't been sorted yet.
233 233
 	 *
234
-	 * @return bool
234
+	 * @return boolean|null
235 235
 	 */
236 236
 	private function sortIfUnsorted() {
237 237
 		if (!$this->sorted) {
@@ -262,7 +262,7 @@  discard block
 block discarded – undo
262 262
 	 *
263 263
 	 * @param mixed $element The element to check for.
264 264
 	 * @param bool  $strict  Use strict checking?
265
-	 * @return mixed False if the element doesn't exists, the priority if it does.
265
+	 * @return integer False if the element doesn't exists, the priority if it does.
266 266
 	 */
267 267
 	public function getPriority($element, $strict = false) {
268 268
 		return array_search($element, $this->elements, $strict);
Please login to merge, or discard this patch.
engine/classes/ElggRelationship.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 	 *
84 84
 	 * @param string $name  Name
85 85
 	 * @param mixed  $value Value
86
-	 * @return mixed
86
+	 * @return boolean
87 87
 	 * @deprecated 1.9
88 88
 	 */
89 89
 	public function set($name, $value) {
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
 	/**
211 211
 	 * Return an array of fields which can be exported.
212 212
 	 *
213
-	 * @return array
213
+	 * @return string[]
214 214
 	 * @deprecated 1.9 Use toObject()
215 215
 	 */
216 216
 	public function getExportableValues() {
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
 	/**
227 227
 	 * Export this relationship
228 228
 	 *
229
-	 * @return array
229
+	 * @return ODDRelationship
230 230
 	 * @deprecated 1.9 Use toObject()
231 231
 	 */
232 232
 	public function export() {
Please login to merge, or discard this patch.
engine/classes/ElggSession.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@
 block discarded – undo
363 363
 	 *
364 364
 	 * @see \ArrayAccess::offsetGet()
365 365
 	 *
366
-	 * @param mixed $key Name
366
+	 * @param integer $key Name
367 367
 	 *
368 368
 	 * @return mixed
369 369
 	 * @deprecated 1.9 Use get()
Please login to merge, or discard this patch.
engine/classes/ElggUpgrade.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * Sets the timestamp for when the upgrade completed.
103 103
 	 *
104 104
 	 * @param int $time Timestamp when upgrade finished. Defaults to now.
105
-	 * @return bool
105
+	 * @return integer
106 106
 	 */
107 107
 	public function setCompletedTime($time = null) {
108 108
 		if (!$time) {
Please login to merge, or discard this patch.
engine/classes/ElggUser.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -223,6 +223,7 @@  discard block
 block discarded – undo
223 223
 
224 224
 	/**
225 225
 	 * {@inheritdoc}
226
+	 * @param string $name
226 227
 	 */
227 228
 	public function __set($name, $value) {
228 229
 		if (!array_key_exists($name, $this->attributes)) {
@@ -767,7 +768,7 @@  discard block
 block discarded – undo
767 768
 	/**
768 769
 	 * Return an array of fields which can be exported.
769 770
 	 *
770
-	 * @return array
771
+	 * @return string[]
771 772
 	 * @deprecated 1.9 Use toObject()
772 773
 	 */
773 774
 	public function getExportableValues() {
Please login to merge, or discard this patch.
engine/classes/ElggWidget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	 * Get a value from attributes or private settings
31 31
 	 * 
32 32
 	 * @param string $name The name of the value
33
-	 * @return mixed
33
+	 * @return string
34 34
 	 */
35 35
 	public function __get($name) {
36 36
 		// See if its in our base attribute
Please login to merge, or discard this patch.
engine/classes/ODDDocument.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -195,7 +195,7 @@
 block discarded – undo
195 195
 	 *
196 196
 	 * @see Iterator::valid()
197 197
 	 *
198
-	 * @return void
198
+	 * @return boolean
199 199
 	 */
200 200
 	function valid() {
201 201
 		return $this->valid;
Please login to merge, or discard this patch.