diff --git a/src/Renderer/AbstractRenderer.php b/src/Renderer/AbstractRenderer.php index d9806a3..c897371 100644 --- a/src/Renderer/AbstractRenderer.php +++ b/src/Renderer/AbstractRenderer.php @@ -91,7 +91,7 @@ abstract class AbstractRenderer implements RendererInterface 'outputTagAsString' => false, // this option is currently only for the Json renderer. // it controls how the output JSON is formatted. - // see availabe options on https://www.php.net/manual/en/function.json-encode.php + // see available options on https://www.php.net/manual/en/function.json-encode.php 'jsonEncodeFlags' => \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE, // this option is currently effective when the "detailLevel" is "word" // characters listed in this array can be used to make diff segments into a whole diff --git a/src/Renderer/Html/Combined.php b/src/Renderer/Html/Combined.php index 4b7077b..ceb1583 100644 --- a/src/Renderer/Html/Combined.php +++ b/src/Renderer/Html/Combined.php @@ -338,14 +338,14 @@ protected function mergeReplaceLines(string $oldLine, string $newLine): ?string * Analyze and get the closure parts information of the line. * * Such as - * extract informations for "part 1" and "part 2" + * extract information for "part 1" and "part 2" * from "Hello part 1SOME OTHER TEXTpart 2 World" * * @param string $line the line * @param string[] $closures the closures * @param int $type the type * - * @return array[] the closure informations + * @return array[] the closure information */ protected function analyzeClosureParts(string $line, array $closures, int $type): array {