Skip to content

Instantly share code, notes, and snippets.

@cursosdesarrolloweb
Created Aug 10, 2021
Embed
What would you like to do?
<?php
/**
* Call the given Closure with the given value then return the value.
*
* @param mixed $value
* @param callable|null $callback
* @return mixed
*/
function tap($value, $callback = null): mixed;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment