update bug daashboards

This commit is contained in:
2026-04-18 19:47:13 +07:00
parent e2fa4d2d7b
commit ef902b2604
271 changed files with 44303 additions and 308 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace Knuckles\Camel\Extraction;
use Knuckles\Camel\BaseDTOCollection;
/**
* @extends BaseDTOCollection<Response>
*/
class ResponseCollection extends BaseDTOCollection
{
public static string $base = Response::class;
public function hasSuccessResponse(): bool
{
return $this->first(
fn ($response) => '2' === ((string) ($response->status))[0]
) !== null;
}
}