Code Duplication    Length = 11-11 lines in 2 locations

src/Formats/SmallAlphanumeric.php 1 location

@@ 9-19 (lines=11) @@
6
use DeGraciaMathieu\Riddler\Occurences;
7
use DeGraciaMathieu\Riddler\Contracts\Format;
8
9
class SmallAlphanumeric implements Format
10
{
11
    public function handle()
12
    {
13
        return [
14
            [new Criterias\Digit(), new Occurences\Strict(5)],
15
            [new Criterias\Letter(), new Occurences\Strict(5)],
16
            [new Criterias\UppercaseLetter(), new Occurences\Strict(5)]
17
        ];
18
    }
19
}
20
21

src/Formats/StrongAlphanumeric.php 1 location

@@ 9-19 (lines=11) @@
6
use DeGraciaMathieu\Riddler\Occurences;
7
use DeGraciaMathieu\Riddler\Contracts\Format;
8
9
class StrongAlphanumeric implements Format
10
{
11
    public function handle()
12
    {
13
        return [
14
            [new Criterias\Digit(), new Occurences\Strict(10)],
15
            [new Criterias\Letter(), new Occurences\Strict(10)],
16
            [new Criterias\UppercaseLetter(), new Occurences\Strict(10)]
17
        ];
18
    }
19
}
20
21