Skip to content

Declaration of CrestApps\CodeGenerator\Support\Str::plural($word, $count = 2) must be compatible with Illuminate\Support\Str::plural($value, $count = 2, $prependCount = false) #228

@acowahyudi

Description

@acowahyudi

I used this library for my project laravel 12 with php 8.3. But when I run whatever command in this library i got this error:
Symfony\Component\ErrorHandler\Error\FatalError
Declaration of CrestApps\CodeGenerator\Support\Str::plural($word, $count = 2) must be compatible with Illuminate\Support\Str::plural($value, $count = 2, $prependCount = false)
can anyone help me for this error. Sorry I'm noob at programming

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions