Commit 8b0e7cdf authored by Stefan Busemann's avatar Stefan Busemann

Apply suggestion to extensions/t3omy/Classes/Viewhelpers/IsSlackOnlineViewhelper.php

parent bbecb3d0
Pipeline #7065 passed with stages
in 3 minutes and 18 seconds
......@@ -29,7 +29,7 @@ class IsSlackOnlineViewhelper extends AbstractViewHelper
*/
public function render()
{
$feUser = $this->slackFrontendUserRepository->findByUid($this->arguments['frontendUserUID']);
$feUser = $this->slackFrontendUserRepository->findByUid((int)$this->arguments['frontendUserUID']);
$slackUser = $this->slackUserRepository->findBySlackId($feUser->getSlackId());
if ($slackUser) {
......
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