Skip to content

Commit

Permalink
chore(deps): bump nextcloud/coding-standard from 1.1.1 to ^1.2.1
Browse files Browse the repository at this point in the history
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Feb 28, 2024
1 parent 89bb110 commit 314429b
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion lib/Db/AppointmentConfigMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public function findByToken(string $token) : AppointmentConfig {
* @return AppointmentConfig[]
* @throws DbException
*/
public function findAllForUser(string $userId, string $visibility = null): array {
public function findAllForUser(string $userId, ?string $visibility = null): array {
$qb = $this->db->getQueryBuilder();
$qb->select('*')
->from($this->getTableName())
Expand Down
4 changes: 2 additions & 2 deletions lib/Exception/ClientException.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class ClientException extends Exception {

public function __construct($message = "",
$code = 0,
Throwable $previous = null,
int $httpCode = null) {
?Throwable $previous = null,
?int $httpCode = null) {
parent::__construct($message, $code, $previous);
$this->httpCode = $httpCode;
}
Expand Down
4 changes: 2 additions & 2 deletions lib/Exception/ServiceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ class ServiceException extends Exception {

public function __construct($message = "",
$code = 0,
Throwable $previous = null,
int $httpCode = null) {
?Throwable $previous = null,
?int $httpCode = null) {
parent::__construct($message, $code, $previous);
$this->httpCode = $httpCode;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/Appointments/AppointmentConfigService.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __construct(AppointmentConfigMapper $mapper,
* @return AppointmentConfig[]
* @throws ServiceException
*/
public function getAllAppointmentConfigurations(string $userId, string $visibility = null): array {
public function getAllAppointmentConfigurations(string $userId, ?string $visibility = null): array {
try {
return $this->mapper->findAllForUser($userId, $visibility);
} catch (DbException $e) {
Expand Down
2 changes: 1 addition & 1 deletion vendor-bin/cs-fixer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"sort-packages": true
},
"require-dev": {
"nextcloud/coding-standard": "^1.1.1"
"nextcloud/coding-standard": "^1.2.1"
}
}
30 changes: 15 additions & 15 deletions vendor-bin/cs-fixer/composer.lock

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

0 comments on commit 314429b

Please sign in to comment.