Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function getResolvedCreatorUserId(): string |
||
30 | { |
||
31 | $createdByIdentifier = $this->item->getCreatedBy(); |
||
32 | if ($createdByIdentifier) { |
||
33 | $userId = $this->userIdResolver->resolveCreatedByToUserId( |
||
34 | new StringLiteral($createdByIdentifier) |
||
35 | ); |
||
36 | } |
||
37 | |||
38 | return isset($userId) ? (string) $userId : ''; |
||
39 | } |
||
40 | |||
48 |