azjezz / psl

📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers
MIT License
1.21k stars 71 forks source link

Added different message to distinguish between two cases: #495

Open zerkms opened 1 week ago

zerkms commented 1 week ago

a) the value at the path is of the wrong type b) the path does not exist

Fixes https://github.com/azjezz/psl/issues/494

IMPORTANT: this is still "work-in-progress" and merely a conversation opener with the aim to find out better wording (not sure I like it like that, but it's the best I could think of at the moment).

coveralls commented 1 week ago

Pull Request Test Coverage Report for Build 11025356195

Details


Totals Coverage Status
Change from base Build 10847576320: 0.004%
Covered Lines: 5371
Relevant Lines: 5442

💛 - Coveralls