Skip to content

Commit b5cfbd5

Browse files
committed
Fix generateBlockHeader docBlocks
At the subRenderer classes and their interface, the return value of the method is described as "Start of the diff view" but should describe start of block.
1 parent eb5ae61 commit b5cfbd5

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/jblond/Diff/Renderer/Html/Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function generateLinesReplace(array $changes): string
233233
*
234234
* @param array $changes Contains the op-codes about the changes between two blocks of text.
235235
*
236-
* @return string Start of the diff view.
236+
* @return string Start of the block.
237237
*/
238238
public function generateBlockHeader(array $changes): string
239239
{

lib/jblond/Diff/Renderer/Html/SideBySide.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ public function generateLinesReplace(array $changes): string
269269
*
270270
* @param array $changes Contains the op-codes about the changes between two blocks of text.
271271
*
272-
* @return string Start of the diff view.
272+
* @return string Start of the block.
273273
*/
274274
public function generateBlockHeader(array $changes): string
275275
{

lib/jblond/Diff/Renderer/Html/Unified.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ public function generateLinesReplace(array $change): string
170170
*
171171
* @param array $changes Contains the op-codes about the changes between two blocks of text.
172172
*
173-
* @return string Start of the diff view.
173+
* @return string Start of the block.
174174
*/
175175
public function generateBlockHeader(array $changes): string
176176
{

lib/jblond/Diff/Renderer/SubRendererInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function generateDiffHeader(): string;
3737
*
3838
* @param array $changes Contains the op-codes about the changes between two blocks of text.
3939
*
40-
* @return string Start of the diff view.
40+
* @return string Start of the block.
4141
*/
4242
public function generateBlockHeader(array $changes): string;
4343

0 commit comments

Comments
 (0)