Skip to content

Commit

Permalink
[WorkflowBundle] fix doc-types
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Feb 27, 2019
1 parent 17f0ce2 commit cae90d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@
namespace CoreShop\Bundle\WorkflowBundle\History;

use Pimcore\Model\DataObject;
use Pimcore\Model\Element\Note;

interface HistoryRepositoryInterface
{
/**
* @param DataObject\Concrete $object
* @return Note[]
*/
public function getHistory(DataObject\Concrete $object);
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

namespace CoreShop\Bundle\WorkflowBundle\StateManager;

use CoreShop\Component\Order\Model\ProposalInterface;
use Pimcore\Model\Element\Note;

interface WorkflowStateInfoManagerInterface
{
/**
* @param ProposalInterface $proposal
* @param $object
*
* @return mixed
* @return Note[]
*/
public function getStateHistory($proposal);
public function getStateHistory($object);

/**
* @param string $workflowName
Expand Down

0 comments on commit cae90d3

Please sign in to comment.