]> source.dussan.org Git - nextcloud-server.git/commit
Fixes Psalm's "InvalidArgument" error.
authorFaraz Samapoor <f.samapoor@gmail.com>
Wed, 5 Jul 2023 06:56:35 +0000 (10:26 +0330)
committerFaraz Samapoor <fsa@adlas.at>
Wed, 12 Jul 2023 14:59:32 +0000 (18:29 +0330)
commit270035ff44d7c8054d065ad0ac8835854ac13522
tree3e26967f9a1b6a1bb949e0393705cbd54fa5e9c0
parentb8870658fb0c1e7661c99affa2999941be6a0139
Fixes Psalm's "InvalidArgument" error.

I just removed the return type from the "exceptionErrorHandler". There is in fact a hacky solution, that I didn't like:
https://github.com/vimeo/psalm/issues/3571

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
apps/files/lib/Command/ScanAppData.php