Skip to content

Commit

Permalink
refactor: fix nullable type
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocksheep committed Oct 15, 2024
1 parent 318fa3f commit be050d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Builders/Paths/Operation/ResponseBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ public function build(Route $route): array
*/
public static function buildResponse(
SchemaContract $data,
?Schema $meta = null,
?Schema $links = null,
Schema $meta = null,
Schema $links = null,
): Schema {
$jsonapi = Schema::object('jsonapi')
->properties(Schema::string('version')
Expand Down

0 comments on commit be050d5

Please sign in to comment.