Skip to content

[TypeError] implode(): Argument #2 ($array) must be of type ?array, string given #14

Description

@PawelWalega

Getting error below when I try to install using: composer require --dev ccinn/composer-husky-plugin ccinn/husky-php
2023-01-05_17-09

I think it might be my PHP version (8.2).

Anyway, this fixes it (added [ ] brackets around variable):

2023-01-05_17-10

I don't know the process here and I'm new to PHP but I could do a PR if that's ok?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions