Skip to content

Commit b3b2bed

Browse files
committed
fix: исправление уровня доступа свойства attempts в CliIntegrationTest
- Добавлено protected свойство attempts в анонимном классе - Исправлена ошибка PHP Fatal error о несоответствии уровня доступа
1 parent 311cd05 commit b3b2bed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/Feature/CliIntegrationTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ public function handle(): void
268268

269269
$job = new class($attempts) extends Job
270270
{
271+
protected int &$attempts;
272+
271273
public function __construct(private int &$attempts)
272274
{
273275
parent::__construct();

0 commit comments

Comments
 (0)