Commit graph

7 commits

Author SHA1 Message Date
Umherirrender
10e2f98a17 import/export: Add documentation for nullable arguments
Change-Id: Id8e4553a054a36011433d5705c699d1c2730456e
2021-10-16 21:49:18 +00:00
Umherirrender
4a702c5457 Change object to stdClass type hints in export related classes
Change-Id: Ifa09fe1f733a0bfdfdede5ccde0dc21c6c81b299
2020-11-15 09:44:00 +00:00
Umherirrender
018f9a3bd4 Add missing visibility on methods related to import/export
Change-Id: Iec6646a55a8c5d8e8a56dc7bccf8ef98a998ce1a
2020-05-09 11:56:48 +00:00
Daimona Eaytoy
1927fda909 export: Align docs of close(Rename/Reopen) methods
The base implementation says it can accept an array with a single
element, but the subclasses only had `string` in the docblock (although
they could handle the array case). Hence, replace docblocks in
subclasses with @inheritDoc to copy the parent description and avoid
such discrepancies in the future.

Plus, change `array` to `string[]` for better type inference.

Change-Id: Ica9929fd50f31d8d5f0e29f7c60364086ea39ae5
2019-09-19 17:29:30 +00:00
Alangi Derick
0848d0e607 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
2018-12-03 12:28:48 +01:00
Reedy
e7719c215c Fix corrupt ©
Change-Id: I2a875cf770e19834fdd22d57691ed945e524d7d7
2015-12-31 01:01:23 +00:00
mhutti1
c92aa31aab Split Export.php classes into seperate files
Moved classes in Export.php to seperate files in the new directory
includes/export/ and updated autoload.php to these new locations.

Bug: T122531
Change-Id: Idd3bba5a85d65c952f2ff503bea2ca76624c9b7f
2015-12-28 22:51:06 +00:00