refactor(renderer): add strict_types declaration and make class final

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-30 14:13:51 +02:00
parent c70d96c3aa
commit 61b7735afc
+3 -1
View File
@@ -1,5 +1,7 @@
<?php <?php
declare(strict_types=1);
namespace App\Service; namespace App\Service;
/** /**
@@ -11,7 +13,7 @@ namespace App\Service;
* - Month labels above, weekday labels (Mon/Wed/Fri) on the left * - Month labels above, weekday labels (Mon/Wed/Fri) on the left
* - 5 intensity levels (04) matched to GitHub's colour palette * - 5 intensity levels (04) matched to GitHub's colour palette
*/ */
class SvgRenderer final class SvgRenderer
{ {
// GitHub's exact colour tokens // GitHub's exact colour tokens
private const THEMES = [ private const THEMES = [