diff src/Generator/Controller/ControllerGenerator.php @ 22:ee8ef14e158d main-dev

Now able to include through composer
author Luka Sitas <sitas.luka.97@gmail.com>
date Wed, 26 Feb 2025 20:12:17 -0500
parents f0b0d014e448
children 827efbf4d73c
line wrap: on
line diff
--- a/src/Generator/Controller/ControllerGenerator.php	Wed Feb 26 19:45:08 2025 -0500
+++ b/src/Generator/Controller/ControllerGenerator.php	Wed Feb 26 20:12:17 2025 -0500
@@ -64,11 +64,8 @@
 
     /**
      * Get the path for the generated file.
-     *
-     * @param string|null $name
-     * @return string
      */
-    protected function getPath(?string $name = null): string
+    protected function getPath($name = null)
     {
         return str_replace(
             ['App\\', '\\'],