From c8f6a3b20eb027238c95b5b68d6afe217b00a3c3 Mon Sep 17 00:00:00 2001 From: megasteve19 Date: Mon, 29 Jan 2024 04:05:05 +0300 Subject: [PATCH] satisfy phpstan --- tests/BlockTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/BlockTest.php b/tests/BlockTest.php index 50612bd..3059dc9 100644 --- a/tests/BlockTest.php +++ b/tests/BlockTest.php @@ -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') ); @@ -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'); }