mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
The `within()` function has been modified to pass-through the return value of the callback function. It is now possible to write code like: ```php $out = within('/foo', function () { return 'bar'; }); ``` The `$out` variable will now contain the value `'bar'`. If the callback function returns nothing, then the return of `within()` call will be `null`. Fixes #2178