Code Duplication    Length = 4-4 lines in 2 locations

src/Mapping/Actor.php 1 location

@@ 81-84 (lines=4) @@
78
            $actor->mbox = $mbox->getValue();
79
        }
80
81
        if (null !== $account = $inverseFunctionalIdentifier->getAccount()) {
82
            $actor->accountName = $account->getName();
83
            $actor->accountHomePage = $account->getHomePage()->getValue();
84
        }
85
86
        if ($model instanceof Group) {
87
            $actor->type = 'group';

src/Mapping/Object.php 1 location

@@ 280-283 (lines=4) @@
277
            $object->mbox = $mbox->getValue();
278
        }
279
280
        if (null !== $account = $inverseFunctionalIdentifier->getAccount()) {
281
            $object->accountName = $account->getName();
282
            $object->accountHomePage = $account->getHomePage()->getValue();
283
        }
284
285
        if ($model instanceof Group) {
286
            $object->type = self::TYPE_GROUP;