fix(applications): persist restart limit state for stopped containers (#11566)

This commit is contained in:
Andras Bacsai
2026-08-31 13:13:26 +02:00
committed by GitHub
parent e514a2d61f
commit 67b33c27a9
97 changed files with 2181 additions and 397 deletions
+12
View File
@@ -0,0 +1,12 @@
<?php
use App\Actions\Database\StopDatabase;
use App\Models\BaseModel;
it('declares strict method types', function () {
$handle = new ReflectionMethod(StopDatabase::class, 'handle');
$stopContainer = new ReflectionMethod(StopDatabase::class, 'stopContainer');
expect($handle->getReturnType()?->getName())->toBe('string')
->and($stopContainer->getParameters()[0]->getType()?->getName())->toBe(BaseModel::class);
});