Skip to content

TypeError when using Swot::isAcademic() #22

@jmecahansen

Description

@jmecahansen

Hi,

I want to integrate your library in a small framework I'm building with PHP 8.1 but, when using the isAcademic() method it gives me the following error:

TypeError : array_key_exists(): Argument #2 ($array) must be of type array, Pdp\PublicSuffixList given

I suppose this is connected to #21 as it's related to the same package but I don't know if it's a matter of upgrading the package dependency for jeremykendall/php-domain-parser or upgrading your library (or maybe both). In any case, could you take a look? :)

Kind regards,
Julio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions