Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
FIX: auto-init name recognition
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximilian Schmidt committed Oct 12, 2018
1 parent 3b6aadf commit 3c23d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public function autoInit()
$config = [];
$reflector = new \ReflectionClass(static::class);

$className = $reflector->getName();
$className = $reflector->getShortName();
$config['name'] = $appName = StringHelper::camelToSnakeCase($className);

$classDocBlock = $reflector->getDocComment();
Expand Down

0 comments on commit 3c23d4f

Please sign in to comment.