Skip to content

Commit

Permalink
Merge pull request cakephp#6727 from amayer5125/the-callback
Browse files Browse the repository at this point in the history
Replace "you callback" with "the callback"
  • Loading branch information
othercorey authored Jul 29, 2020
2 parents b1d9eb5 + 6dbf9ef commit f4a1b13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion en/core-libraries/hash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ Attribute Matching Types
.. php:staticmethod:: filter(array $data, $callback = ['Hash', 'filter'])
Filters empty elements out of array, excluding '0'. You can also supply a
custom ``$callback`` to filter the array elements. You callback should
custom ``$callback`` to filter the array elements. The callback should
return ``false`` to remove elements from the resulting array::

$data = [
Expand Down
2 changes: 1 addition & 1 deletion tl/core-libraries/hash.rst
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ Attribute Matching Types
.. php:staticmethod:: filter(array $data, $callback = ['Hash', 'filter'])
Filters empty elements out of array, excluding '0'. You can also supply a
custom ``$callback`` to filter the array elements. You callback should
custom ``$callback`` to filter the array elements. The callback should
return ``false`` to remove elements from the resulting array::

$data = [
Expand Down

0 comments on commit f4a1b13

Please sign in to comment.