Skip to content

Commit cff7db1

Browse files
committed
add declaration
1 parent eb382fa commit cff7db1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/jblond/Diff/Renderer/MainRenderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ protected function renderSequences(): array
190190
* @param int $endOld last line of the block in old to replace.
191191
* @param int $startNew First line of the block in new to replace.
192192
*/
193-
private function markInlineChange(array &$oldText, array &$newText, $startOld, $endOld, $startNew)
193+
private function markInlineChange(array &$oldText, array &$newText, int $startOld, int $endOld, int $startNew)
194194
{
195195
for ($iterator = 0; $iterator < ($endOld - $startOld); ++$iterator) {
196196
// Check each line in the block for differences.

lib/jblond/Diff/Renderer/Text/InlineCli.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function generateDiffHeader(): string
7272
*
7373
* @return string Start of the diff view.
7474
*/
75-
public function generateBlockHeader($changes): string
75+
public function generateBlockHeader(array $changes): string
7676
{
7777
return '';
7878
}

0 commit comments

Comments
 (0)