Skip to content

TypeError when using Swot::isAcademic() #22

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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