]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix psalm warnings 22342/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 20 Aug 2020 16:30:48 +0000 (18:30 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 20 Aug 2020 16:30:48 +0000 (18:30 +0200)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
build/psalm-baseline.xml

index 8dce521c6f72f167312a719e2b1bf6fe0898b0a9..9334147be3b2067848b49e82834511cac93d8f3d 100644 (file)
     </InvalidReturnType>
   </file>
   <file src="apps/user_status/lib/Db/UserStatusMapper.php">
-    <ImplicitToStringCast occurrences="1">
+    <ImplicitToStringCast occurrences="2">
+      <code>$qb-&gt;createNamedParameter(['online', 'away'], IQueryBuilder::PARAM_STR_ARRAY)</code>
       <code>$qb-&gt;createNamedParameter($userIds, IQueryBuilder::PARAM_STR_ARRAY)</code>
     </ImplicitToStringCast>
     <MoreSpecificImplementedParamType occurrences="1"/>