Skip to content

Commit e1bf180

Browse files
committed
chore(deprecated code): change "add" to "addCommand"
1 parent de6ecfb commit e1bf180

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/docker-api

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
1818

1919
return static function (array $context) {
2020
$application = new Application('Docker API', '@package_version@');
21-
$application->add(new ListContainersCommand());
22-
$application->add(new EventsListenCommand());
21+
$application->addCommand(new ListContainersCommand());
22+
$application->addCommand(new EventsListenCommand());
2323
$application->setDefaultCommand('docker:list-containers');
2424

2525
return $application;

0 commit comments

Comments
 (0)