Skip to content

Commit 05fc2ba

Browse files
open api linting fix
1 parent 4682bc9 commit 05fc2ba

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/LaravelRequestDocsToOpenApi.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,13 @@ protected function getAttributeType(string $rule): string
118118
return "object";
119119
}
120120

121-
public function toJson() : string {
121+
public function toJson() : string
122+
{
122123
return collect($this->openApi)->toJson(JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);
123124
}
124125

125-
public function toArray() : array {
126+
public function toArray() : array
127+
{
126128
return $this->openApi;
127129
}
128130
}

0 commit comments

Comments
 (0)