Commit Graph

8 Commits (6df58e67f20cb29df92ca58fa9f95c8caa6afab1)

Author SHA1 Message Date
Your Name 72e840345e Fix PHPStan 'empty() always exists and is not falsy' errors
- Remove redundant empty() checks where variables are guaranteed to exist and be non-falsy
- Replace empty() with simple null/false checks where appropriate
- Maintain original logic while fixing static analysis issues
- Affected files:
  - app/Http/Controllers/GroupController.php
  - app/Http/Controllers/ProfileAliasController.php
  - app/Jobs/ImageOptimizePipeline/ImageUpdate.php
  - app/Jobs/InboxPipeline/DeleteWorker.php
  - app/Jobs/InboxPipeline/InboxValidator.php
  - app/Jobs/InboxPipeline/InboxWorker.php
  - app/Jobs/ProfilePipeline/HandleUpdateActivity.php
  - app/Rules/ExpoPushTokenRule.php
  - app/Services/AutospamService.php
  - app/Services/CollectionService.php
  - app/Services/NotificationAppGatewayService.php
  - app/Services/WebfingerService.php
  - app/Util/ActivityPub/Helpers.php
2 weeks ago
Daniel Supernault b8ad594a05
Update CollectionController 3 years ago
Daniel Supernault 84e152896b
Update CollectionController 3 years ago
Daniel Supernault eac3220ffd
Update CollectionService, revert timestamp change 3 years ago
Daniel Supernault 3bf792072a
Update CollectionService 3 years ago
Daniel Supernault c40b2f091f
Update CollectionService 3 years ago
Daniel Supernault 44f4a9edd9
Improve CollectionService cache invalidation, fixes #3548 3 years ago
Daniel Supernault aba0c97cee
Add CollectionService 4 years ago