Commit ecb2ff0f authored by Адлан Шамавов's avatar Адлан Шамавов
Browse files

refactoring

parent 1c2f2d02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -73,8 +73,8 @@ class HomeController extends AbstractController
        return $this->json(["Days before NY:" => $result]);
    }

    #[Route('/{year}', name: 'home', methods: ['GET'])]
    public function home(int $year): Response
    #[Route('/func6/{year}', name: 'func6', methods: ['GET'])]
    public function func6(int $year): Response
    {
        $fridays = array();
        try {