Skip to content

Commit

Permalink
docs: Update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Nov 2, 2022
1 parent 9355dea commit a6653b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/pages/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ on. See ``scanLeft`` for intermediate results.

Interface: `FoldLeftable`_

Signature: ``Collection::foldLeft(callable $callback, $initial = null): mixed;``
Signature: ``Collection::foldLeft(callable $callback, $initial): mixed;``

.. code-block:: php
Expand Down Expand Up @@ -994,7 +994,7 @@ See ``scanRight`` for intermediate results.

Interface: `FoldRightable`_

Signature: ``Collection::foldRight(callable $callback, $initial = null): mixed;``
Signature: ``Collection::foldRight(callable $callback, $initial): mixed;``

.. code-block:: php
Expand Down Expand Up @@ -1946,7 +1946,7 @@ this result and the second argument and so on. It returns the list of intermedia

Interface: `ScanLeftable`_

Signature: ``Collection::scanLeft(callable $callback, $initial = null): Collection;``
Signature: ``Collection::scanLeft(callable $callback, $initial): Collection;``

.. code-block:: php
Expand Down Expand Up @@ -1998,7 +1998,7 @@ the end and the result, and so on. It returns the list of intermediate and final

Interface: `ScanRightable`_

Signature: ``Collection::scanRight(callable $callback, $initial = null): Collection;``
Signature: ``Collection::scanRight(callable $callback, $initial): Collection;``

.. code-block:: php
Expand Down

0 comments on commit a6653b8

Please sign in to comment.