Skip to content

Commit 9b4ce82

Browse files
committed
Fix edit oauth client.
1 parent 2ed799c commit 9b4ce82

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

_iam/src/AdapterForWeb/Administration/OauthClient/Form/Dto/OauthClientDto.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717

1818
class OauthClientDto
1919
{
20-
public string $name;
20+
public ?string $name;
2121

22-
public string $identifier;
22+
public ?string $identifier;
2323

2424
public string $secret;
2525

psalm-baseline.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
<MixedArgument>
55
<code><![CDATA[$form->getData()]]></code>
66
</MixedArgument>
7+
<PossiblyNullArgument>
8+
<code><![CDATA[$dto->identifier]]></code>
9+
<code><![CDATA[$dto->name]]></code>
10+
</PossiblyNullArgument>
711
<PossiblyNullPropertyAssignmentValue>
812
<code><![CDATA[$client->getSecret()]]></code>
913
</PossiblyNullPropertyAssignmentValue>

0 commit comments

Comments
 (0)