Skip to content

Commit c66ee61

Browse files
committed
Ignore code coverage
1 parent fb2b2b3 commit c66ee61

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Doc.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
use Illuminate\Contracts\Support\Arrayable;
66

7+
/**
8+
* @codeCoverageIgnore
9+
*/
710
class Doc implements Arrayable
811
{
912
/**
@@ -129,7 +132,6 @@ public function __construct(
129132
$this->responses = [];
130133
}
131134

132-
133135
/**
134136
* @return string
135137
*/

src/LaravelRequestDocsToOpenApi.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ protected function getAttributeType(string $rule): string
145145
return "object";
146146
}
147147

148+
/**
149+
* @codeCoverageIgnore
150+
*/
148151
public function toJson(): string
149152
{
150153
return collect($this->openApi)->toJson(JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);

0 commit comments

Comments
 (0)