Skip to content
This repository was archived by the owner on Dec 9, 2023. It is now read-only.

Commit 6e86c65

Browse files
committed
Use short array deconstruction syntax.
1 parent 0a8f600 commit 6e86c65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/ServerStatusCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
8080
$server = new WebServer($this->pidFileDirectory);
8181
if ($filter = $input->getOption('filter')) {
8282
if ($server->isRunning($input->getOption('pidfile'))) {
83-
list($host, $port) = explode(':', $address = $server->getAddress($input->getOption('pidfile')));
83+
[$host, $port] = explode(':', $address = $server->getAddress($input->getOption('pidfile')));
8484
if ('address' === $filter) {
8585
$output->write($address);
8686
} elseif ('host' === $filter) {

0 commit comments

Comments
 (0)