Skip to content

Commit

Permalink
11.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Sep 2, 2024
1 parent 1855594 commit d692393
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 11 additions & 5 deletions Framework/lib/view/block/echo.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,14 @@
* @used-by vendor/cabinetsbay/catalog/view/frontend/templates/category/view.phtml (https://github.com/cabinetsbay/catalog/issues/18)
* @param string|object|null $m
*/
function df_block_echo($m = null, string $p = '', array $v = []):F {return function(string ...$tt) use($m, $p, $v):void {
df_map($tt, function(string $t) use($m, $p, $v):void {
echo df_block_output($m, df_cc_path($p, $t), $v);
});
};}
function df_block_echo($m = null, string $p = '', array $v = []):F {
# 2024-09-02
# 1) https://stackoverflow.com/a/7878017
# 2) https://3v4l.org/irLL7
$r = function(string ...$tt) use($m, $p, &$r, $v):void {
df_map($tt, function(string $t) use($m, $p, $r, $v):void {
echo df_block_output($m, df_cc_path($p, $t), $v + ['echo' => $r]);
});
}; /** @var F $r */
return $r;
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mage2pro/core"
,"version": "11.3.6"
,"version": "11.3.7"
,"description": "Mage2.PRO core package."
,"type": "magento2-module"
,"homepage": "https://mage2.pro"
Expand Down

0 comments on commit d692393

Please sign in to comment.