Skip to content

Commit 4518927

Browse files
committed
Uniform more "from, to" into "old, new"
Signed-off-by: Jack Cherng <[email protected]>
1 parent 079a5ec commit 4518927

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Renderer/Text/Context.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ public function render(): string
4848
$ret .=
4949
"***************\n" .
5050
$this->renderBlockHeader('*', $i1, $i2) .
51-
$this->renderBlockFrom($opcodes) .
51+
$this->renderBlockOld($opcodes) .
5252
$this->renderBlockHeader('-', $j1, $j2) .
53-
$this->renderBlockTo($opcodes);
53+
$this->renderBlockNew($opcodes);
5454
}
5555

5656
return $ret;
@@ -74,13 +74,13 @@ protected function renderBlockHeader(string $delimiter, int $a1, int $a2): strin
7474
}
7575

7676
/**
77-
* Render the block: from.
77+
* Render the old block.
7878
*
7979
* @param array $opcodes the opcodes
8080
*
8181
* @return string
8282
*/
83-
protected function renderBlockFrom(array $opcodes): string
83+
protected function renderBlockOld(array $opcodes): string
8484
{
8585
$ret = '';
8686

@@ -99,13 +99,13 @@ protected function renderBlockFrom(array $opcodes): string
9999
}
100100

101101
/**
102-
* Render the block: to.
102+
* Render the new block.
103103
*
104104
* @param array $opcodes the opcodes
105105
*
106106
* @return string
107107
*/
108-
protected function renderBlockTo(array $opcodes): string
108+
protected function renderBlockNew(array $opcodes): string
109109
{
110110
$ret = '';
111111

0 commit comments

Comments
 (0)