Skip to content

Account for too few parameters #2

Description

@dynamiccookies

When no parameters are sent, the following error happens:
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function decodeVIN(), 0 passed in

Just need to test for existence of $vin and return false; on failure.

Activity

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

Metadata

Metadata

Labels

bugSomething isn't workingpoka-yoke"Mistake-proofing", "Error-proofing", "Idiot-proofing"...take your pick

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions