diff --git a/build/psalm-baseline.xml b/build/psalm-baseline.xml
index 5f34c43ea648d4c48dbc4ffd28c452ef452eb736..eb5a496e183af37d4cf8c849570e2500adef8c11 100644
--- a/build/psalm-baseline.xml
+++ b/build/psalm-baseline.xml
@@ -5117,7 +5117,7 @@
       <code>'OCP\Share::preShare'</code>
       <code>'OCP\Share::preUnshare'</code>
     </InvalidArgument>
-    <InvalidScalarArgument occurrences="3">
+    <InvalidScalarArgument occurrences="2">
       <code>$id</code>
       <code>$this-&gt;shareApiLinkDefaultExpireDays()</code>
       <code>$this-&gt;shareApiLinkDefaultExpireDays()</code>