bramus / bramus/enumeration

Strict mode for in_array

Open
#1 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
PHP
Stars
6
Forks
1
PR merge metrics
No merged PRs in 30d

Description

I like your implementation of enumerations for PHP. I found that when using isValidValue() I got unexpected true return. It turns out that the in_array function used needs to be set with ‘strict’ mode enabled to function correctly.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.