mirror of
https://github.com/moodle/moodle.git
synced 2025-06-03 14:46:35 +02:00
MDL-14589 fixed incorect php docs return type
This commit is contained in:
parent
3e29781d11
commit
5ebb660ebd
@ -738,7 +738,7 @@ class portfolio_exporter {
|
||||
* associated with this export
|
||||
*
|
||||
* @param $oldfile stored_file object
|
||||
* @return new stored_file object
|
||||
* @return stored_file new file object
|
||||
*/
|
||||
public function copy_existing_file($oldfile) {
|
||||
if (array_key_exists($oldfile->get_contenthash(), $this->newfilehashes)) {
|
||||
@ -766,7 +766,7 @@ class portfolio_exporter {
|
||||
* @param string $content content to write
|
||||
* @param string $name filename to use
|
||||
* @param bool $maifest whether this is the main file or an secondary file (eg attachment)
|
||||
* @return new stored_file object
|
||||
* @return stored_file new file object
|
||||
*/
|
||||
public function write_new_file($content, $name, $manifest=true) {
|
||||
$fs = get_file_storage();
|
||||
|
Loading…
x
Reference in New Issue
Block a user