Passed
Push — master ( 1ffd02...b93f0b )
by Bertrand
06:21
created

GetUserRole::get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 7
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 9
rs 10
1
<?php
2
3
4
namespace App\Src\UseCases\Domain\Users\Dto;
5
6
class GetUserRole
7
{
8
    public function get()
9
    {
10
         return collect([
11
            new WikiUserRole('advisor'),
12
            new WikiUserRole('farmer'),
13
            new WikiUserRole('student'),
14
            new WikiUserRole('searcher'),
15
            new WikiUserRole('agro-supplier'),
16
            new WikiUserRole('others'),
17
        ]);
18
    }
19
}
20