[TOOLS] Fix errors pointed out by PHPStan level 4
This commit is contained in:
@@ -119,7 +119,6 @@ class EditFeeds extends Controller
|
||||
/** @var SubmitButton $remove_button */
|
||||
$remove_button = $form->get($remove_id);
|
||||
if ($remove_button->isClicked()) {
|
||||
// @phpstan-ignore-next-line -- Doesn't quite understand that _this_ $opts for the current $form_definitions does have 'data'
|
||||
DB::remove(DB::getReference('feed', ['actor_id' => $user->getId(), 'url' => $opts['data']]));
|
||||
DB::flush();
|
||||
Cache::delete($key);
|
||||
|
||||
Reference in New Issue
Block a user