Skip to content

Commit f6142f6

Browse files
authored
Merge pull request #221 from mamazu/adding_void_to_commands
Adding `void` return type to command
2 parents a8301d9 + 30e806a commit f6142f6

File tree

78 files changed

+78
-78
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+78
-78
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
class AccessControlPrivilegeListCommand extends BasePhpcrCommand
2323
{
24-
protected function configure()
24+
protected function configure(): void
2525
{
2626
$this->setName('access-control:privilege:list');
2727
$this->setDescription('List the privileges of the repository or a specific node');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class LockInfoCommand extends BasePhpcrCommand
2222
{
23-
protected function configure()
23+
protected function configure(): void
2424
{
2525
$this->setName('lock:info');
2626
$this->setDescription('Show details of the lock that applies to the specified node path');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
class LockLockCommand extends BasePhpcrCommand
2222
{
23-
protected function configure()
23+
protected function configure(): void
2424
{
2525
$this->setName('lock:lock');
2626
$this->setDescription('Lock the node at the given path');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LockRefreshCommand extends BasePhpcrCommand
2121
{
22-
protected function configure()
22+
protected function configure(): void
2323
{
2424
$this->setName('lock:refresh');
2525
$this->setDescription('Refresh the TTL of the lock of the node at the given path');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LockTokenAddCommand extends BasePhpcrCommand
2121
{
22-
protected function configure()
22+
protected function configure(): void
2323
{
2424
$this->setName('lock:token:add');
2525
$this->setDescription('Add a lock token to the current session');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LockTokenListCommand extends BasePhpcrCommand
2121
{
22-
protected function configure()
22+
protected function configure(): void
2323
{
2424
$this->setName('lock:token:list');
2525
$this->setDescription('List a lock token to the current session');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LockTokenRemoveCommand extends BasePhpcrCommand
2121
{
22-
protected function configure()
22+
protected function configure(): void
2323
{
2424
$this->setName('lock:token:remove');
2525
$this->setDescription('Remove a lock token to the current session');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class LockUnlockCommand extends BasePhpcrCommand
2121
{
22-
protected function configure()
22+
protected function configure(): void
2323
{
2424
$this->setName('lock:unlock');
2525
$this->setDescription('Unlock the node at the given path');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class NodeCloneCommand extends BasePhpcrCommand
2121
{
22-
protected function configure()
22+
protected function configure(): void
2323
{
2424
$this->setName('node:clone');
2525
$this->setDescription('Clone a node (immediate)');

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
class NodeCopyCommand extends BasePhpcrCommand
2020
{
21-
protected function configure()
21+
protected function configure(): void
2222
{
2323
$this->setName('node:copy');
2424
$this->setDescription('Copy a node (immediate)');

0 commit comments

Comments
 (0)