You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current implementation of getValue($array, $key) with $key as anonymous function is not match with the phrases Retrieves the value of an array element. basically it just like a value transformation, it can returns anything even value from outside array itself as of in example
What the problem?
arrays/src/ArrayHelper.php
Lines 210 to 212 in c3d14a3
Current implementation of
getValue($array, $key)
with $key as anonymous function is not match with the phrasesRetrieves the value of an array element
. basically it just like a value transformation, it can returns anything even value from outside array itself as of in examplearrays/src/ArrayHelper.php
Lines 184 to 188 in c3d14a3
What is the expected result?
the implementation should search value of an array by matcher function
and then, change the signature of matcher function to be
function($value, $key): bool
.Additional info
The text was updated successfully, but these errors were encountered: