mirror of
https://github.com/flarum/core.git
synced 2025-07-19 15:51:16 +02:00
Making the $user argument nullable prevents this unnecessary exception, and doesn't introduce any issues since we check that $user exists as part of the method.