Skip to content

Commit 33afb59

Browse files
[10.x] Add Factory::getNamespace() (#47463)
* Add Factory::getNamespace() * Added test for Factory::getNamespace() * Style fixes * Update Factory.php * Update DatabaseEloquentFactoryTest.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent ea5172e commit 33afb59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Eloquent/Factories/Factory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ abstract class Factory
104104
*
105105
* @var string
106106
*/
107-
protected static $namespace = 'Database\\Factories\\';
107+
public static $namespace = 'Database\\Factories\\';
108108

109109
/**
110110
* The default model name resolver.

0 commit comments

Comments
 (0)