Skip to content

Commit

Permalink
chore(deps-dev): Bump nextcloud/coding-standard from 1.2.3 to 1.3.1
Browse files Browse the repository at this point in the history
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.2.3 to 1.3.1.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](nextcloud/coding-standard@v1.2.3...v1.3.1)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
  • Loading branch information
dependabot[bot] authored and provokateurin committed Sep 21, 2024
1 parent 0812375 commit f7e9cbc
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 14 deletions.
71 changes: 59 additions & 12 deletions composer.lock

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

10 changes: 9 additions & 1 deletion src/ControllerMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ class ControllerMethod {
* @param array<int, string> $responseDescription
* @param string[] $description
*/
public function __construct(public array $parameters, public array $responses, public array $returns, public array $responseDescription, public array $description, public ?string $summary, public bool $isDeprecated) {
public function __construct(
public array $parameters,
public array $responses,
public array $returns,
public array $responseDescription,
public array $description,
public ?string $summary,
public bool $isDeprecated,
) {
}

public static function parse(string $context, array $definitions, ClassMethod $method, bool $isAdmin, bool $isDeprecated, bool $isPasswordConfirmation): ControllerMethod {
Expand Down
8 changes: 7 additions & 1 deletion src/ControllerMethodParameter.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@
class ControllerMethodParameter {
public OpenApiType $type;

public function __construct(string $context, array $definitions, public string $name, public Param $methodParameter, public ?OpenApiType $docType) {
public function __construct(
string $context,
array $definitions,
public string $name,
public Param $methodParameter,
public ?OpenApiType $docType,
) {
if ($docType != null) {
$this->type = $this->docType;
} else {
Expand Down

0 comments on commit f7e9cbc

Please sign in to comment.