Skip to content

Commit 39b7e0f

Browse files
committed
Fixed property set command
1 parent 6390ad1 commit 39b7e0f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ public function execute(InputInterface $input, OutputInterface $output)
8989
}
9090
}
9191

92-
$node->setProperty($propName, $value);
92+
$node->setProperty($propName, $value, $intType);
9393
}
9494
}

src/PHPCR/Shell/Resources/config.dist/alias.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ ls: node:list {arg1}
1717
sl: node:clone {arg1} {arg2} # symlink, as in ln -s
1818
cp: node:copy {arg1} {arg2}
1919
cat: node:property:show {arg1}
20+
touch: node:property:set {arg1} {arg2} {arg3}
2021

2122
# Node type commands
2223
mixins: node-type:list "^mix:"

0 commit comments

Comments
 (0)