Skip to content

Commit 5a90e78

Browse files
brianteemanjfcherng
authored andcommitted
chore: fix typos (#75)
1 parent 38b6e81 commit 5a90e78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Renderer/AbstractRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ abstract class AbstractRenderer implements RendererInterface
8989
'outputTagAsString' => false,
9090
// this option is currently only for the Json renderer.
9191
// it controls how the output JSON is formatted.
92-
// see availabe options on https://www.php.net/manual/en/function.json-encode.php
92+
// see available options on https://www.php.net/manual/en/function.json-encode.php
9393
'jsonEncodeFlags' => \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE,
9494
// this option is currently effective when the "detailLevel" is "word"
9595
// characters listed in this array can be used to make diff segments into a whole

src/Renderer/Html/Combined.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,14 @@ protected function mergeReplaceLines(string $oldLine, string $newLine): ?string
335335
* Analyze and get the closure parts information of the line.
336336
*
337337
* Such as
338-
* extract informations for "<ins>part 1</ins>" and "<ins>part 2</ins>"
338+
* extract information for "<ins>part 1</ins>" and "<ins>part 2</ins>"
339339
* from "Hello <ins>part 1</ins>SOME OTHER TEXT<ins>part 2</ins> World"
340340
*
341341
* @param string $line the line
342342
* @param string[] $closures the closures
343343
* @param int $type the type
344344
*
345-
* @return array[] the closure informations
345+
* @return array[] the closure information
346346
*/
347347
protected function analyzeClosureParts(string $line, array $closures, int $type): array
348348
{

0 commit comments

Comments
 (0)