It seems like new \SilverStripe\Queued...sTest_RecordingLogger() of type object<SilverStripe\Queu...bsTest_RecordingLogger> is incompatible with the declared type array of property $logger.
Our type inference engine has found an assignment to a property that is incompatible
with the declared type of that property.
Either this assignment is in error or the assigned type should be added
to the documentation/type hint for that property..
The expression isset($this->logger) ? $...est_RecordingLogger()); of type array|SilverStripe\Queue...obsTest_RecordingLogger adds the type array to the return on line 28 which is incompatible with the return type of the parent method SilverStripe\QueuedJobs\...edJobService::getLogger of type Psr\Log\LoggerInterface.
This check marks private properties in classes that are never used. Those properties can be removed.