Skip to content

Commit

Permalink
https://github.com/mage2pro/core/issues/416
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 9, 2024
1 parent edf4477 commit ceb998b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/lib/text/prepend-append.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function df_prepend(string $s, string $head):string {return df_starts_with($s, $
/**
* 2022-11-26 We can not declare the argument as `string ...$a` because such a syntax will reject arrays: https://3v4l.org/jFdPm
* @used-by df_tab_multiline()
* @param string|string[] $a
* @param string|string[] ...$a
* @return string|string[]|array(string => string)
*/
function df_tab(...$a) {return df_call_a(function(string $s):string {return "\t" . $s;}, $a);}
Expand Down

0 comments on commit ceb998b

Please sign in to comment.