@@ -24,7 +24,7 @@ |
||
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)) { |
@@ -558,7 +558,7 @@ |
||
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 | */ |
@@ -231,7 +231,7 @@ discard block |
||
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 |
||
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); |
@@ -83,7 +83,7 @@ discard block |
||
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 |
||
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 |
||
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() { |
@@ -363,7 +363,7 @@ |
||
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() |
@@ -102,7 +102,7 @@ |
||
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) { |
@@ -223,6 +223,7 @@ discard block |
||
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 |
||
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() { |
@@ -30,7 +30,7 @@ |
||
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 |
@@ -195,7 +195,7 @@ |
||
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; |