Skip to content

Commit ae05d1b

Browse files
committed
Fixed helpers
1 parent e532a7d commit ae05d1b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PHPCR/Shell/Console/Command/Phpcr/NodeInfoCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ public function execute(InputInterface $input, OutputInterface $output)
2727
{
2828
$session = $this->get('phpcr.session');
2929
$path = $input->getArgument('path');
30-
$nodeHelper = $this->getHelper('node');
31-
$formatter = $this->getHelper('result_formatter');
30+
$nodeHelper = $this->get('helper.node');
31+
$formatter = $this->get('helper.result_formatter');
3232

3333
$nodes = $session->findNodes($path);
3434

src/PHPCR/Shell/Console/Command/Phpcr/NodePropertyShowCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function execute(InputInterface $input, OutputInterface $output)
2828
$path = $session->getAbsPath($input->getArgument('path'));
2929
$resultFormatHelper = $this->get('helper.result_formatter');
3030
$pathHelper = $this->get('helper.path');
31-
$resultFormatHelper = $this->getHelper('result_formatter');
31+
$resultFormatHelper = $this->get('helper.result_formatter');
3232

3333
$parentPath = $pathHelper->getParentPath($path);
3434
$filter = $pathHelper->getNodeName($path);

0 commit comments

Comments
 (0)