Skip to content

Commit

Permalink
Merge branch '7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Longosz committed Sep 11, 2018
2 parents 14e323b + bc339ea commit e017b34
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Repository/Tests/TrashServiceTest.php
Expand Up @@ -895,8 +895,14 @@ private function assertAliasNotExists(URLAliasService $urlAliasService, $urlPath

/**
* Get Test Double for TrashItem for exception testing and similar.
*
* @param int $trashId
* @param int $contentId
* @param int $parentLocationId
*
* @return \eZ\Publish\API\Repository\Values\Content\TrashItem
*/
private function getTrashItemDouble(int $trashId, int $contentId = 44, int $parentLocationId = 2): TrashItem
private function getTrashItemDouble(int $trashId, int $contentId = 44, int $parentLocationId = 2): APITrashItem
{
return new TrashItem([
'id' => $trashId,
Expand Down

0 comments on commit e017b34

Please sign in to comment.