Skip to content
Snippets Groups Projects
Commit 401176ec authored by jurgenhaas's avatar jurgenhaas
Browse files

docker/l3d#58 Move project settings out of composer.json

parent 8c69572d
No related branches found
Tags v3.7.55
No related merge requests found
......@@ -4,7 +4,6 @@ namespace LakeDrops\Docker4Drupal;
use Composer\Script\Event;
use Composer\Script\ScriptEvents;
use LakeDrops\Component\Composer\BaseHandlerInterface;
use LakeDrops\Component\Composer\BasePlugin;
/**
......@@ -15,7 +14,7 @@ class Plugin extends BasePlugin {
/**
* {@inheritdoc}
*/
public function getHandlerClass(): BaseHandlerInterface {
public function getHandlerClass(): string {
return Handler::class;
}
......@@ -44,12 +43,8 @@ class Plugin extends BasePlugin {
*
* @param \Composer\Script\Event $event
* The event that triggered the call of this function.
*
* @throws \Twig\Error\LoaderError
* @throws \Twig\Error\RuntimeError
* @throws \Twig\Error\SyntaxError
*/
public function configureProject(Event $event) {
public function configureProject(Event $event): void {
/** @var Handler $handler */
$handler = $this->handler;
$handler
......
......@@ -20,7 +20,7 @@ class UpdateCommand extends BaseCommand {
/**
* {@inheritdoc}
*/
public function getHandlerClass(): BaseHandlerInterface {
public function getHandlerClass(): string {
return Handler::class;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment