Skip to content

Commit

Permalink
TTK-26797: Fix php stan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
albacodina committed Jan 22, 2024
1 parent 6050758 commit e381a68
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Controller/ConfController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
use Doctrine\ODM\MongoDB\DocumentManager;
use MongoDB\BSON\ObjectId;
use Pumukit\SchemaBundle\Document\MultimediaObject;
use Pumukit\SchemaBundle\Document\Live;
use Pumukit\SchemaBundle\Services\CaptionService;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
Expand Down Expand Up @@ -48,6 +49,7 @@ public function __construct(
public function confAction(Request $request): Response
{
$multimediaObject = $this->getMultimediaObject($request->query->get('configID'));
$jsonData = "";

if ($multimediaObject instanceof MultimediaObject) {
$jsonData = $this->renderView(
Expand Down

0 comments on commit e381a68

Please sign in to comment.