Replace custom tap function with josephlavin/tap

This commit is contained in:
Oliver Davies 2018-08-31 00:35:25 +01:00
parent ad8582b8c9
commit 0774f465a2
3 changed files with 49 additions and 10 deletions

View file

@ -1,8 +1,8 @@
<?php
function tap($value, $callback)
{
$callback($value);
return $value;
}
//function tap($value, $callback)
//{
// $callback($value);
//
// return $value;
//}