Skip to content
This repository
Browse code

Argument optional in collectFromEntityProviders()

  • Loading branch information...
commit 186d95c84b711cceb266548c4199896ca6852e42 1 parent 1432a8e
Ingo Schommer authored August 09, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  i18n/i18nTextCollector.php
2  i18n/i18nTextCollector.php
@@ -326,7 +326,7 @@ public function collectFromTemplate($content, $fileName, $module) {
326 326
 	/**
327 327
 	 * @uses i18nEntityProvider
328 328
 	 */
329  
-	function collectFromEntityProviders($filePath, $module) {
  329
+	function collectFromEntityProviders($filePath, $module = null) {
330 330
 		$entities = array();
331 331
 		
332 332
 		$classes = ClassInfo::classes_for_file($filePath);

0 notes on commit 186d95c

Please sign in to comment.
Something went wrong with that request. Please try again.