mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
refacto: memory plugin
This commit is contained in:
@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user