We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3425c08 commit 09cdeacCopy full SHA for 09cdeac
src/console/MigrateController.php
@@ -70,7 +70,7 @@ public function beforeAction($action)
70
*/
71
public function getMigrationNamespace($module)
72
{
73
- $reflection = new \ReflectionClass($module->class);
+ $reflection = new \ReflectionClass(get_class($module));
74
$baseNamespace = $reflection->getNamespaceName() . '\\migrations';
75
$namespaces = [$baseNamespace];
76
0 commit comments