Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2013-03-31 22:26:36 +0400
committersgiehl <stefan@piwik.org>2013-03-31 22:26:36 +0400
commit4b443205b34b7a99aaff87a4dea92dafe003c4f9 (patch)
treed2ebc3f9457debe2d00837c86c64801ec43e1481 /core/Mail.php
parent63c8f4f6ddef3d414595d3d264a3266e8b2998b3 (diff)
fixing some doc blocks
Diffstat (limited to 'core/Mail.php')
-rw-r--r--core/Mail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Mail.php b/core/Mail.php
index 833e01fdb6..77cb44bef4 100644
--- a/core/Mail.php
+++ b/core/Mail.php
@@ -34,6 +34,7 @@ class Piwik_Mail extends Zend_Mail
*
* @param string $email
* @param null|string $name
+ * @return Zend_Mail
*/
public function setFrom($email, $name = null)
{
@@ -50,7 +51,7 @@ class Piwik_Mail extends Zend_Mail
$piwikHost = $url['host'];
}
$email = str_replace('{DOMAIN}', $piwikHost, $email);
- parent::setFrom($email, $name);
+ return parent::setFrom($email, $name);
}
/**