mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Argument optional in collectFromEntityProviders()
This commit is contained in:
parent
1432a8e8a1
commit
186d95c84b
@ -326,7 +326,7 @@ class i18nTextCollector extends Object {
|
||||
/**
|
||||
* @uses i18nEntityProvider
|
||||
*/
|
||||
function collectFromEntityProviders($filePath, $module) {
|
||||
function collectFromEntityProviders($filePath, $module = null) {
|
||||
$entities = array();
|
||||
|
||||
$classes = ClassInfo::classes_for_file($filePath);
|
||||
|
Loading…
x
Reference in New Issue
Block a user