Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-01-13 20:26:38 +0300
committerJulius Härtl <jus@bitgrid.net>2021-01-13 21:34:03 +0300
commit12b42d11f977f4895cb782dd0bcdfc756e9e6187 (patch)
treee799aed117ecc8e30c9bd6e29c4156791f976bbd /tests
parent49f2f80fa4c31acd7e91599110c7c123c41b6924 (diff)
Always use the updated color depending on the guest name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'tests')
-rw-r--r--tests/psalm-baseline.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/psalm-baseline.xml b/tests/psalm-baseline.xml
index 4842df2bb..c73bc04a2 100644
--- a/tests/psalm-baseline.xml
+++ b/tests/psalm-baseline.xml
@@ -144,13 +144,18 @@
</UndefinedThisPropertyFetch>
</file>
<file src="lib/Service/SessionService.php">
- <UndefinedDocblockClass occurrences="4">
+ <UndefinedDocblockClass occurrences="8">
<code>$color-&gt;b</code>
+ <code>$color-&gt;b</code>
+ <code>$color-&gt;g</code>
<code>$color-&gt;g</code>
<code>$color-&gt;r</code>
+ <code>$color-&gt;r</code>
+ <code>$this-&gt;avatarManager-&gt;getGuestAvatar($guestName)-&gt;avatarBackgroundColor($guestName)</code>
<code>$this-&gt;avatarManager-&gt;getGuestAvatar($userName)-&gt;avatarBackgroundColor($userName)</code>
</UndefinedDocblockClass>
- <UndefinedMagicMethod occurrences="6">
+ <UndefinedMagicMethod occurrences="7">
+ <code>setColor</code>
<code>setColor</code>
<code>setDocumentId</code>
<code>setGuestName</code>