Skip to content

Commit

Permalink
Merge pull request #1109 from nextcloud/dependabot/composer/nextcloud…
Browse files Browse the repository at this point in the history
…/coding-standard-1.2.1

Chore(deps-dev): Bump nextcloud/coding-standard from 1.1.1 to 1.2.1
  • Loading branch information
icewind1991 authored Feb 5, 2024
2 parents 217f9e8 + b44083d commit 4fef0e8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function __construct(
/**
* @deprecated - use getValue*()
*/
public function getValue(string $app, string $key, string $default = null): string {
public function getValue(string $app, string $key, ?string $default = null): string {
}
}
}
Expand Down Expand Up @@ -431,7 +431,7 @@ public function unlink($path) {
use Symfony\Component\EventDispatcher\EventDispatcherInterface;

class User implements IUser {
public function __construct(string $uid, ?UserInterface $backend, EventDispatcherInterface $dispatcher, $emitter = null, IConfig $config = null, $urlGenerator = null) {
public function __construct(string $uid, ?UserInterface $backend, EventDispatcherInterface $dispatcher, $emitter = null, ?IConfig $config = null, $urlGenerator = null) {
}
}
}
Expand Down Expand Up @@ -459,7 +459,7 @@ public function getFileInfo(): \OCP\Files\FileInfo {
use OCP\ILogger;

abstract class TimedJob implements IJob {
public function execute(IJobList $jobList, ILogger $logger = null) {
public function execute(IJobList $jobList, ?ILogger $logger = null) {
}

abstract protected function run($argument);
Expand Down

0 comments on commit 4fef0e8

Please sign in to comment.