@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | * @param resource $f File pointer resource |
108 | 108 | * @param mixed $data The data to write. |
109 | 109 | * |
110 | - * @return bool |
|
110 | + * @return integer |
|
111 | 111 | */ |
112 | 112 | public function write($f, $data) { |
113 | 113 | return fwrite($f, $data); |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | * @param int $length The number of bytes to read |
121 | 121 | * @param int $offset The number of bytes to start after |
122 | 122 | * |
123 | - * @return mixed Contents of file or false on fail. |
|
123 | + * @return string Contents of file or false on fail. |
|
124 | 124 | */ |
125 | 125 | public function read($f, $length, $offset = 0) { |
126 | 126 | if ($offset) { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * @param resource $f File resource |
164 | 164 | * @param int $position Position in bytes |
165 | 165 | * |
166 | - * @return bool |
|
166 | + * @return integer |
|
167 | 167 | */ |
168 | 168 | public function seek($f, $position) { |
169 | 169 | return fseek($f, $position); |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | * @param string $dirroot The full path of the directory to create |
283 | 283 | * |
284 | 284 | * @throws IOException |
285 | - * @return true |
|
285 | + * @return boolean |
|
286 | 286 | * @deprecated 1.8 Use \ElggDiskFilestore::makeDirectoryRoot() |
287 | 287 | */ |
288 | 288 | protected function make_directory_root($dirroot) { |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | * @param string $dirroot The full path of the directory to create |
299 | 299 | * |
300 | 300 | * @throws IOException |
301 | - * @return true |
|
301 | + * @return boolean |
|
302 | 302 | */ |
303 | 303 | protected function makeDirectoryRoot($dirroot) { |
304 | 304 | if (!file_exists($dirroot)) { |
@@ -561,7 +561,7 @@ |
||
561 | 561 | /** |
562 | 562 | * Return an array of fields which can be exported. |
563 | 563 | * |
564 | - * @return array |
|
564 | + * @return string[] |
|
565 | 565 | * @deprecated 1.9 Use toObject() |
566 | 566 | */ |
567 | 567 | public function getExportableValues() { |
@@ -552,7 +552,7 @@ discard block |
||
552 | 552 | * @param string $type |
553 | 553 | * @param bool $value |
554 | 554 | * @param array $params |
555 | - * @return true|null |
|
555 | + * @return boolean|null |
|
556 | 556 | * @access private |
557 | 557 | */ |
558 | 558 | function elgg_override_permissions($hook, $type, $value, $params) { |
@@ -589,7 +589,7 @@ discard block |
||
589 | 589 | * @param string $type |
590 | 590 | * @param array $value |
591 | 591 | * @param array $params |
592 | - * @return array |
|
592 | + * @return string[] |
|
593 | 593 | * |
594 | 594 | * @access private |
595 | 595 | */ |