Skip to content

Commit ea7d77e

Browse files
committed
QA: APIdoc readability
1 parent c833be0 commit ea7d77e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/php/lang/ast/emit/RewritePartialFunctionApplications.class.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@
1111
*
1212
* // Output:
1313
* $f= fn($arg) => str_replace('test', 'ok', $arg);
14+
* ```
15+
*
16+
* Keeps evaluation order consistent with native implementation:
1417
*
18+
* ```php
1519
* // Input:
1620
* $f= str_replace('test', result(), ?);
1721
*
18-
* // Ouput:
22+
* // Output:
1923
* $f= [
2024
* $temp= result(),
2125
* fn($arg) => str_replace('test', $temp, $arg)

0 commit comments

Comments
 (0)