Skip to content

Update array parameter #7

@dynamiccookies

Description

@dynamiccookies

Currently, when passing an array into the decodeVIN() function, the splat operator must be used (...$keys).

Need to find a way to expand this process so that the splat operator isn't required but can still be used.

The function should be able to accept the following options as a secondary parameter:

  • Blank/empty
  • Single string
  • Multiple strings as multiple parameters
  • Single array with splat operator
  • Single array without splat operator
  • Multiple string, array, or mixture of string & array parameters

Metadata

Metadata

Labels

poka-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