open-orchestra/open-orchestra-cms-bundle

View on GitHub
ApiBundle/Controller/ControllerTrait/ListStatus.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to undeclared method \OpenOrchestra\ApiBundle\Controller\ControllerTrait\ListStatus::get
Open

        $availableStatus = $this->get('open_orchestra_model.repository.status')->findAll();

Call to undeclared method \OpenOrchestra\ApiBundle\Controller\ControllerTrait\ListStatus::get
Open

        return $this->get('open_orchestra_api.transformer_manager')->transform('status_collection', $possibleStatuses);

Call to method getStatus from undeclared class \OpenOrchestra\ModelInterface\Model\StatusableInterface
Open

            if ($status->getId() != $document->getStatus()->getId()

Parameter $document has undeclared type \OpenOrchestra\ModelInterface\Model\StatusableInterface
Open

    protected function listStatuses(StatusableInterface $document)

Call to method getStatus from undeclared class \OpenOrchestra\ModelInterface\Model\StatusableInterface
Open

        $possibleStatuses = array($document->getStatus());

Call to undeclared method \OpenOrchestra\ApiBundle\Controller\ControllerTrait\ListStatus::isGranted
Open

                && $this->isGranted($status, $document)

There are no issues that match your filters.

Category
Status