Skip to content

Commit 541d123

Browse files
committed
Fixed test
1 parent 96f9d72 commit 541d123

File tree

7 files changed

+3
-4
lines changed

7 files changed

+3
-4
lines changed
Binary file not shown.

src/PHPCR/Shell/Console/Application/ShellApplication.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
use PHPCR\Util\Console\Command\WorkspaceImportCommand;
2828
use PHPCR\Util\Console\Command\WorkspaceListCommand;
2929
use PHPCR\Util\Console\Command\WorkspacePurgeCommand;
30-
use PHPCR\Util\Console\Helper\PhpcrCliHelper;
3130
use PHPCR\Util\Console\Helper\PhpcrConsoleDumperHelper;
3231
use PHPCR\Util\Console\Helper\PhpcrHelper;
3332
use Symfony\Component\Console\Command\Command;
@@ -109,7 +108,6 @@ public function __construct($appName, $version, InputInterface $input, $transpor
109108
$this->getHelperSet()->set(new PhpcrConsoleDumperHelper());
110109
$this->getHelperSet()->set(new ResultFormatterHelper());
111110
$this->getHelperSet()->set(new PhpcrHelper($session));
112-
$this->getHelperSet()->set(new PhpcrCliHelper($session));
113111
}
114112

115113
private function getSession($input)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/PHPCR/Shell/Console/Helper/ResultFormatterHelper.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ public function format(QueryResultInterface $result, OutputInterface $output, $e
5252

5353
protected function formatValue($value)
5454
{
55-
if (is_array($value->getValue())) {
56-
if (empty($value->getValue())) {
55+
$v = $value->getValue();
56+
if (is_array($v)) {
57+
if (empty($v)) {
5758
return '';
5859
}
5960
$array = $value;

0 commit comments

Comments
 (0)