Commit Graph

8 Commits (82a82ec3e7232f9d227484449c3315c04c0c57d7)

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
1 week 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