Skip to content
This repository has been archived by the owner on Jul 6, 2019. It is now read-only.

Array::reject #100

Open
bantya opened this issue Jun 16, 2017 · 0 comments
Open

Array::reject #100

bantya opened this issue Jun 16, 2017 · 0 comments

Comments

@bantya
Copy link

bantya commented Jun 16, 2017

On your site under Array::reject there is a typo in the method usage example. The example uses Array::filter method insted of Array::reject
The example says:

Arrays::filter(array(1, 2, 3), function($value) {
    return $value % 2 != 0; // Returns array(2)
});

It should rather say:

Arrays::reject(array(1, 2, 3), function($value) {
    return $value % 2 != 0; // Returns array(2)
});
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant