]> source.dussan.org Git - nextcloud-server.git/commit
Improve psalm annotation to make it stricter 32384/head
authorCarl Schwan <carl@carlschwan.eu>
Fri, 13 May 2022 14:14:01 +0000 (16:14 +0200)
committerCarl Schwan <carl@carlschwan.eu>
Fri, 13 May 2022 14:14:01 +0000 (16:14 +0200)
commit7f899b3bc8a4debcde2d4f4b81d9044221718292
treedfa981a7a2aa28817b10b482f788e264aebd814f
parentf4058a2432f748ffff6d7e45f2fb79ca383f8dd1
Improve psalm annotation to make it stricter

Now using class-string<T> as input will only return T, and any other
string will return mixed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
build/psalm-baseline.xml
lib/public/Server.php