Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

use Pimcore\Model\DataObject\Concrete;
use Pimcore\Workflow\Manager;
use Symfony\Component\PropertyAccess\PropertyAccessor;
use Symfony\Component\PropertyAccess\PropertyAccessorInterface;
use Symfony\Component\Workflow\Exception\LogicException;
use Symfony\Component\Workflow\Marking;
use Symfony\Component\Workflow\MarkingStore\MarkingStoreInterface;
Expand All @@ -36,7 +36,7 @@ class DataObjectSplittedStateMarkingStore implements MarkingStoreInterface
private $stateMapping;

/**
* @var PropertyAccessor
* @var PropertyAccessorInterface
*/
private $propertyAccessor;

Expand All @@ -45,7 +45,7 @@ class DataObjectSplittedStateMarkingStore implements MarkingStoreInterface
*/
private $workflowManager;

public function __construct(string $workflowName, array $places, array $stateMapping, PropertyAccessor $propertyAccessor, Manager $workflowManager)
public function __construct(string $workflowName, array $places, array $stateMapping, PropertyAccessorInterface $propertyAccessor, Manager $workflowManager)
{
$this->workflowName = $workflowName;

Expand Down