1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-05 19:31:02 +00:00

Move to PHPStan level 4

This commit is contained in:
Yassine Guedidi 2025-04-05 17:34:00 +02:00
parent 31e1be4191
commit b4483023e6
22 changed files with 116 additions and 104 deletions

View file

@ -61,10 +61,10 @@ class PocketController extends AbstractController
return $this->redirect($this->generateUrl('import_pocket'));
}
$form = $request->request->get('form');
$form = $request->request->all('form');
$this->session->set('import.pocket.code', $requestToken);
if (null !== $form && \array_key_exists('mark_as_read', $form)) {
if (\array_key_exists('mark_as_read', $form)) {
$this->session->set('mark_as_read', $form['mark_as_read']);
}