refacto: memory plugin

This commit is contained in:
Nuno Maduro
2021-12-05 17:48:51 +00:00
parent b0264886c9
commit dd081c59b7
6 changed files with 39 additions and 33 deletions

View File

@ -16,7 +16,7 @@ final class Version implements HandlesArguments
use Concerns\HandleArguments;
/**
* Creates a new instance of the plugin.
* Creates a new Plugin instance.
*/
public function __construct(
private OutputInterface $output
@ -24,6 +24,9 @@ final class Version implements HandlesArguments
// ..
}
/**
* {@inheritDoc}
*/
public function handleArguments(array $arguments): array
{
if ($this->hasArgument('--version', $arguments)) {