Skip to content

Commit 82d1e83

Browse files
committed
42
1 parent 0f4fa79 commit 82d1e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Integration/Http/Fixtures/PostResourceWithOptionalFilledAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class PostResourceWithOptionalFilledAttributes extends JsonResource
99
public function toArray($request)
1010
{
1111
return [
12-
'id' => $this->whenFilled($this->id),
12+
'id' => $this->whenFilled($this->id, 42),
1313
'title' => $this->whenFilled($this->title, 'no title'),
1414
];
1515
}

0 commit comments

Comments
 (0)