Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

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

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

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions