Permalink
Browse files

Argument optional in collectFromEntityProviders()

  • Loading branch information...
1 parent 1432a8e commit 186d95c84b711cceb266548c4199896ca6852e42 @chillu chillu committed Aug 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 i18n/i18nTextCollector.php
@@ -326,7 +326,7 @@ public function collectFromTemplate($content, $fileName, $module) {
/**
* @uses i18nEntityProvider
*/
- function collectFromEntityProviders($filePath, $module) {
+ function collectFromEntityProviders($filePath, $module = null) {
$entities = array();
$classes = ClassInfo::classes_for_file($filePath);

0 comments on commit 186d95c

Please sign in to comment.