Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <[email protected]>
  • Loading branch information
julien-nc committed Feb 2, 2024
1 parent 09605fc commit 9859215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/stubs/oc_core_command_base.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class Base {

protected string $defaultOutputFormat = self::OUTPUT_FORMAT_PLAIN;

public function __construct(string $name = null) {
public function __construct(?string $name = null) {
}

protected function configure() {
Expand All @@ -30,7 +30,7 @@ public function getApplication(): ?Application {
public function getDefinition(): InputDefinition {
}

public function addArgument(string $name, int $mode = null, string $description = '', $default = null) {
public function addArgument(string $name, ?int $mode = null, string $description = '', $default = null) {
}

protected function writeArrayInOutputFormat(InputInterface $input, OutputInterface $output, array $items, string $prefix = ' - '): void {
Expand Down

0 comments on commit 9859215

Please sign in to comment.