From d9d449faef7f3870a00bd2f684295c0ca0703d17 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Fri, 1 Sep 2023 12:53:43 +0100 Subject: [PATCH 1/3] typos --- src/Renderer/AbstractRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/AbstractRenderer.php b/src/Renderer/AbstractRenderer.php index d9806a34..c8973718 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 From 464f588b92175e84c4e9fc5f9687dec325c16db4 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Fri, 1 Sep 2023 12:58:14 +0100 Subject: [PATCH 2/3] Update Combined.php --- src/Renderer/Html/Combined.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/Html/Combined.php b/src/Renderer/Html/Combined.php index 4b7077ba..5f2de50e 100644 --- a/src/Renderer/Html/Combined.php +++ b/src/Renderer/Html/Combined.php @@ -338,7 +338,7 @@ 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 From 7c283431a7ab6c2ff09adbf7dea0b402edc19846 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Fri, 1 Sep 2023 12:58:39 +0100 Subject: [PATCH 3/3] Update Combined.php --- src/Renderer/Html/Combined.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Renderer/Html/Combined.php b/src/Renderer/Html/Combined.php index 5f2de50e..ceb1583d 100644 --- a/src/Renderer/Html/Combined.php +++ b/src/Renderer/Html/Combined.php @@ -345,7 +345,7 @@ protected function mergeReplaceLines(string $oldLine, string $newLine): ?string * @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 {