You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/files/lib/Command/Object/Delete.php
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,10 @@ public function __construct(
29
29
publicfunction__invoke(
30
30
IOutput$output,
31
31
IQuestionHelper$questionHelper,
32
-
#[Argument(description: 'Object to delete')] string$object,
33
-
#[Option(description: "Bucket to delete the object from, only required in cases where it can't be determined from the config", shortcut: 'b')] ?string$bucket = null,
32
+
#[Argument(description: 'Object to delete')]
33
+
string$object,
34
+
#[Option(description: "Bucket to delete the object from, only required in cases where it can't be determined from the config", shortcut: 'b')]
Copy file name to clipboardExpand all lines: apps/files/lib/Command/Object/Get.php
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,9 +26,12 @@ public function __construct(
26
26
27
27
publicfunction__invoke(
28
28
IOutput$output,
29
-
#[Argument(description: 'Object to get')] string$object,
30
-
#[Argument(name: 'output', description: 'Target local file to output to, use - for STDOUT')] string$outputFile,
31
-
#[Option(description: "Bucket to get the object from, only required in cases where it can't be determined from the config", shortcut: 'b')] ?string$bucket = null,
29
+
#[Argument(description: 'Object to get')]
30
+
string$object,
31
+
#[Argument(name: 'output', description: 'Target local file to output to, use - for STDOUT')]
32
+
string$outputFile,
33
+
#[Option(description: "Bucket to get the object from, only required in cases where it can't be determined from the config", shortcut: 'b')]
0 commit comments