fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
@@ -2,14 +2,12 @@
namespace App\Services\PublicWinners;
use App\Controllers\WinnersController;
use App\Models\ClassSection;
use App\Models\Competition;
use Carbon\CarbonInterface;
use Illuminate\Support\Facades\DB;
/**
* legacy {@see WinnersController} — public published winners pages.
* legacy {@see \App\Controllers\WinnersController} — public published winners pages.
*/
class PublicWinnersPortalService
{
@@ -106,7 +104,7 @@ class PublicWinnersPortalService
{
$arr = $c->toArray();
foreach ($arr as $key => $value) {
if ($value instanceof CarbonInterface) {
if ($value instanceof \Carbon\CarbonInterface) {
$arr[$key] = $value->format('Y-m-d H:i:s');
}
}