Skip to content

Commit ae309c5

Browse files
committed
Fix some grammar problems in UPGRADING_v6.md
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
1 parent 9fa89dd commit ae309c5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UPGRADING/UPGRADING_v6.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ there is no breaking change for you so you do not have to do anything.
1919
- Constant `RendererConstant::RENDERER_TYPES`
2020
- Constant `AbstractRenderer::IS_TEXT_RENDERER`
2121

22-
- Now a `Renderer` has `render()` method, but a `Differ` does not.
22+
- Now a `Renderer` has a `render()` method, but a `Differ` does not.
2323
If you use those classes by yourself, it should be written like below.
2424

2525
```php
@@ -30,7 +30,7 @@ there is no breaking change for you so you do not have to do anything.
3030
$renderer = RendererFactory::make($renderer, $rendererOptions);
3131
$result = $renderer->render($differ); // <-- this has been changed
3232
```
33-
33+
3434
- If you call `Differ::getGroupedOpcodes()` by yourself,
3535
you must call `Differ::finalize()` before it.
3636

@@ -44,5 +44,5 @@ there is no breaking change for you so you do not have to do anything.
4444
### Internal Breaking Changes
4545

4646
- Now a `Renderer` should implement `protected function renderWoker(Differ $differ): string`
47-
rather than previous `public function render(): string`. Note that `$this->diff` no longer
48-
works in `Renderer`s as they are now injected as the parameter of `Renderer::renderWoker()`.
47+
rather than the previous `public function render(): string`. Note that `$this->diff` no longer
48+
works in `Renderer`s as it is now injected as the parameter to `Renderer::renderWoker()`.

0 commit comments

Comments
 (0)