Skip to content

Commit

Permalink
satisfy phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
megasteve19 committed Jan 29, 2024
1 parent d63dfc4 commit c8f6a3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/BlockTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public function rules(): array

test(
'Can be access data via magic method',
// @phpstan-ignore-next-line
fn () => expect(Paragraph::make(['text' => 'foo'])->text)
->toEqual('foo')
);
Expand All @@ -59,6 +60,7 @@ public function rules(): array
'Can be set data via magic method',
function() {
$paragraph = Paragraph::make(['text' => 'foo']);
// @phpstan-ignore-next-line
$paragraph->text = 'baz';
expect($paragraph->text)->toEqual('baz');
}
Expand Down

0 comments on commit c8f6a3b

Please sign in to comment.