Skip to content

Commit

Permalink
Argument optional in collectFromEntityProviders()
Browse files Browse the repository at this point in the history
  • Loading branch information
chillu committed Aug 9, 2012
1 parent 1432a8e commit 186d95c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i18n/i18nTextCollector.php
Expand Up @@ -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);
Expand Down

0 comments on commit 186d95c

Please sign in to comment.