Code Duplication    Length = 13-14 lines in 2 locations

src/Palladium/Service/Identification.php 2 locations

@@ 193-206 (lines=14) @@
190
    }
191
192
193
    private function assembleCookieLogDetails(Entity\CookieIdentity $identity): array
194
    {
195
        return [
196
            'input' => [
197
                'account' => $identity->getAccountId(),
198
                'series' => $identity->getSeries(),
199
                'key' => md5($identity->getKey()),
200
            ],
201
            'user' => [
202
                'account' => $identity->getAccountId(),
203
                'identity' => $identity->getId(),
204
            ],
205
        ];
206
    }
207
208
209
    public function discardIdentityCollection(Entity\IdentityCollection $list)
@@ 309-321 (lines=13) @@
306
    }
307
308
309
    private function assembleNonceLogDetails(Entity\NonceIdentity $identity): array
310
    {
311
        return [
312
            'input' => [
313
                'identifier' => $identity->getIdentifier(),
314
                'key' => md5($identity->getKey()),
315
            ],
316
            'user' => [
317
                'account' => $identity->getAccountId(),
318
                'identity' => $identity->getId(),
319
            ],
320
        ];
321
    }
322
323
}
324