Also remove the unused $last_idx assignment

This commit is contained in:
Ed Wilde 2023-12-13 10:42:06 +13:00 committed by GitHub
parent 81541db892
commit b6c646ffbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,7 +395,6 @@ class FieldList extends ArrayList
public function findTab($tabName)
{
$parts = explode('.', $tabName ?? '');
$last_idx = count($parts ?? []) - 1;
$currentPointer = $this;