Commit 5991ad87 authored by Jonas Götze's avatar Jonas Götze

[BUGFIX] CS-Fixer Korrekturen

parent 10df4bf4
Pipeline #9777 passed with stages
in 6 minutes and 4 seconds
......@@ -67,9 +67,9 @@ class News extends \GeorgRinger\News\Domain\Model\News
$userRepository = $objectManager->get(\TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository::class);
$userRepository->setDefaultQuerySettings($querySettings);
$authorFeUsers = [];
foreach(explode(',',$this->authorFeUser) as $username) {
foreach (explode(',', $this->authorFeUser) as $username) {
$user = $userRepository->findOneByUsername($username);
if($user !== null) {
if ($user !== null) {
$authorFeUsers[] = $user;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment