app/Ship/Command/CreateControllerCommand.php
Method createClass
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function createClass(string $controllerPrefix, string $container): string
{
$url = strtolower("$container/$controllerPrefix");
if (Rudra::config()->get("attributes")) {