diff --git a/Command/AccountBalanceCommand.php b/Command/AccountBalanceCommand.php index 2bd3f3d..14eeca6 100644 --- a/Command/AccountBalanceCommand.php +++ b/Command/AccountBalanceCommand.php @@ -26,7 +26,7 @@ class AccountBalanceCommand extends ContainerAwareCommand * @see Command */ protected function execute(InputInterface $input, OutputInterface $output) { - $account = $this->getContainer()->get('jhg_nexmo.account'); + $account = $this->getContainer()->get('jhg_nexmo_account'); $balance = $account->balance(); $output->writeln(sprintf('Account balance: %f',$balance)); } diff --git a/Command/SmsPricingCommand.php b/Command/SmsPricingCommand.php index ba936d2..540c7b1 100644 --- a/Command/SmsPricingCommand.php +++ b/Command/SmsPricingCommand.php @@ -31,7 +31,7 @@ class SmsPricingCommand extends ContainerAwareCommand protected function execute(InputInterface $input, OutputInterface $output) { $country = $input->getArgument('country'); - $account = $this->getContainer()->get('jhg_nexmo.account'); + $account = $this->getContainer()->get('jhg_nexmo_account'); $price = $account->smsPricing($country); if($price===false) {