Remove superfluous variable assignments

This commit is contained in:
2022-09-15 21:29:07 +02:00
parent 7c0ad9fa37
commit 5819caff91
12 changed files with 44 additions and 134 deletions

View File

@ -1086,7 +1086,7 @@ final class NodaTimeSplitter {
if (strlen($start_name) === 9 and substr($start_name, 4, 1) === '-') $start_name = substr($start_name, 0, 4);
if (strlen($end_name) === 9 and substr($end_name, 4, 1) === '-') $end_name = substr($end_name, 5, 4);
$output = [
return [
"start_name" => $start_name,
"end_name" => $end_name,
"start_year" => $start[0],
@ -1097,8 +1097,6 @@ final class NodaTimeSplitter {
"counting_time_bcce" => "+",
];
return $output;
}
/**