export: Fix return value of write() function in DumpOutput.php
authorAlangi Derick <alangiderick@gmail.com>
Mon, 3 Dec 2018 11:25:33 +0000 (12:25 +0100)
committerAlangi Derick <alangiderick@gmail.com>
Mon, 3 Dec 2018 11:28:48 +0000 (12:28 +0100)
commit0848d0e607d03e988b3dad8465611c75875c003d
treec49495398c3613b8a4bc660ccccb12e59cd6f139
parentf7ab788bf174c33e8477b745dee42cf5a0140a90
export: Fix return value of write() function in DumpOutput.php

Per http://php.net/manual/en/function.print.php, print always returns
1 (integer value of one) but write() doesn't actually return this value
to it's caller. So "@return bool" in this case doesn't make sense as
one will think it's returning a bool type. `write()` only takes a string
and prints it, and if we really want to return it's value (in this case),
it will be "@return int" not data of type bool.

Change-Id: I45b4a157cde2f768d77dda76d6ae0caa47e28f20
includes/export/DumpOutput.php