Code Duplication    Length = 7-7 lines in 2 locations

src/Test/StatementRepository.php 2 locations

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