aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/App/GetPath.php
diff options
context:
space:
mode:
authorHamid Dehnavi <hamid.dev.pro@gmail.com>2023-07-06 11:30:27 +0330
committerFaraz Samapoor <f.samapoor@gmail.com>2023-09-29 11:37:23 +0330
commit81884cf9da85cfb7f8b0b36cc5675d7ea72c8c0e (patch)
tree65cf5227101e571972834a71720bfbf43406d72d /core/Command/App/GetPath.php
parentf8f437072ac13a4556dea18219d55f11466497e5 (diff)
downloadnextcloud-server-81884cf9da85cfb7f8b0b36cc5675d7ea72c8c0e.tar.gz
nextcloud-server-81884cf9da85cfb7f8b0b36cc5675d7ea72c8c0e.zip
Refactor core/Command/App
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
Diffstat (limited to 'core/Command/App/GetPath.php')
-rw-r--r--core/Command/App/GetPath.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/App/GetPath.php b/core/Command/App/GetPath.php
index 2ec72385191..ea614070e7d 100644
--- a/core/Command/App/GetPath.php
+++ b/core/Command/App/GetPath.php
@@ -29,7 +29,7 @@ use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
class GetPath extends Base {
- protected function configure() {
+ protected function configure(): void {
parent::configure();
$this
@@ -67,7 +67,7 @@ class GetPath extends Base {
* @param CompletionContext $context
* @return string[]
*/
- public function completeArgumentValues($argumentName, CompletionContext $context) {
+ public function completeArgumentValues($argumentName, CompletionContext $context): array {
if ($argumentName === 'app') {
return \OC_App::getAllApps();
}