Code Duplication    Length = 7-7 lines in 2 locations

src/Test/StatementRepository.php 2 locations

@@ 40-46 (lines=7) @@
37
    /**
38
     * {@inheritdoc}
39
     */
40
    public function findStatementById(StatementId $statementId, Actor $authority = null)
41
    {
42
        $statement = $this->repository->findStatementById($statementId, $authority);
43
        $this->objectManager->clear();
44
45
        return $statement;
46
    }
47
48
    /**
49
     * {@inheritdoc}
@@ 51-57 (lines=7) @@
48
    /**
49
     * {@inheritdoc}
50
     */
51
    public function findVoidedStatementById(StatementId $voidedStatementId, Actor $authority = null)
52
    {
53
        $statement = $this->repository->findVoidedStatementById($voidedStatementId, $authority);
54
        $this->objectManager->clear();
55
56
        return $statement;
57
    }
58
59
    /**
60
     * {@inheritdoc}