From 973b967e6b9ce68e0e03b97ae49f28a155a28c6e Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Fri, 17 Jan 2014 12:17:48 +0000 Subject: [PATCH] API Adding chaining to i18nTextCollector::write() Allowing chaining off of the i18nTextCollector::write() function so it's inline with DataObject::write() --- i18n/i18nTextCollector.php | 1 + 1 file changed, 1 insertion(+) diff --git a/i18n/i18nTextCollector.php b/i18n/i18nTextCollector.php index 30768f005..beeabc165 100644 --- a/i18n/i18nTextCollector.php +++ b/i18n/i18nTextCollector.php @@ -193,6 +193,7 @@ class i18nTextCollector extends Object { public function write($module, $entities) { $this->getWriter()->write($entities, $this->defaultLocale, $this->baseSavePath . '/' . $module); + return $this; } /**