src/Illuminate/Foundation/Console/PolicyMakeCommand.php
Method replaceModel
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected function replaceModel($stub, $model)
{
$model = str_replace('/', '\\', $model);
if (str_starts_with($model, '\\')) {