From 7a42dab6d21fa5669b144a930881e161829a0328 Mon Sep 17 00:00:00 2001 From: MDW Date: Fri, 22 Mar 2024 00:53:03 +0100 Subject: [PATCH] Fix PHPdoc typing --- htdocs/core/class/utils_diff.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/utils_diff.class.php b/htdocs/core/class/utils_diff.class.php index 81242f72705..bcc06609ff9 100644 --- a/htdocs/core/class/utils_diff.class.php +++ b/htdocs/core/class/utils_diff.class.php @@ -115,9 +115,9 @@ class Diff * * @param string $sequence1 the first sequence * @param string $sequence2 the second sequence - * @param string $start the starting index - * @param string $end1 the ending index for the first sequence - * @param string $end2 the ending index for the second sequence + * @param int $start the starting index + * @param int $end1 the ending index for the first sequence + * @param int $end2 the ending index for the second sequence * @return array> array of diff */ private static function computeTable($sequence1, $sequence2, $start, $end1, $end2) @@ -157,7 +157,7 @@ class Diff * @param array}> $table the table returned by the computeTable function * @param string $sequence1 the first sequence * @param string $sequence2 the second sequence - * @param string $start the starting index + * @param int $start the starting index * @return array}> array of diff */ private static function generatePartialDiff($table, $sequence1, $sequence2, $start)