diff options
author | Steve Clay <steve@mrclay.org> | 2013-02-04 20:37:25 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-02-09 07:47:28 -0500 |
commit | 85e4c16f39a8b00b229644bcd175663541dfd51a (patch) | |
tree | 49a503ec7eebe24f19025fe5ac0c890857cf86cf /engine/lib/export.php | |
parent | 2cd87bb4ecf6df7b3aea9189cf1933ac3a78038c (diff) | |
download | elgg-85e4c16f39a8b00b229644bcd175663541dfd51a.tar.gz elgg-85e4c16f39a8b00b229644bcd175663541dfd51a.tar.bz2 |
Doc fixes and inline type hints for variables (big static analysis cleanup)
Diffstat (limited to 'engine/lib/export.php')
-rw-r--r-- | engine/lib/export.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/lib/export.php b/engine/lib/export.php index ae9be95ce..31afc1b74 100644 --- a/engine/lib/export.php +++ b/engine/lib/export.php @@ -11,7 +11,7 @@ * * @param mixed $object The object either an ElggEntity, ElggRelationship or ElggExtender * - * @return the UUID or false + * @return string|false the UUID or false */ function get_uuid_from_object($object) { if ($object instanceof ElggEntity) { @@ -67,7 +67,7 @@ function is_uuid_this_domain($uuid) { * * @param string $uuid A unique ID * - * @return mixed + * @return ElggEntity|false */ function get_entity_from_uuid($uuid) { $uuid = sanitise_string($uuid); @@ -167,7 +167,7 @@ function exportAsArray($guid) { * * @param int $guid The GUID. * - * @return xml + * @return string XML * @see ElggEntity for an example of its usage. * @access private */ @@ -184,7 +184,7 @@ function export($guid) { * @param string $xml XML string * * @return bool - * @throws Exception if there was a problem importing the data. + * @throws ImportException if there was a problem importing the data. * @access private */ function import($xml) { |