[BUGFIX] SaltFactory has wrong type hint

Resolves: #52721
Releases: 6.2
Change-Id: Ife6338dd9f12ae21fce746f3707710ab7fa36464
Reviewed-on: https://review.typo3.org/24624
Reviewed-by: Markus Klein
Tested-by: Markus Klein