mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-31 18:31:02 +00:00
Fix PHPStan errors
This commit is contained in:
parent
083dc630fb
commit
0178c7356d
28 changed files with 63 additions and 194 deletions
|
@ -93,13 +93,13 @@ class EntryRestController extends WallabagRestController
|
|||
|
||||
$returnId = (null === $request->query->get('return_id')) ? false : (bool) $request->query->get('return_id');
|
||||
|
||||
$hashedUrls = $request->query->get('hashed_urls', []);
|
||||
$hashedUrls = $request->query->all('hashed_urls');
|
||||
$hashedUrl = $request->query->get('hashed_url', '');
|
||||
if (!empty($hashedUrl)) {
|
||||
$hashedUrls[] = $hashedUrl;
|
||||
}
|
||||
|
||||
$urls = $request->query->get('urls', []);
|
||||
$urls = $request->query->all('urls');
|
||||
$url = $request->query->get('url', '');
|
||||
if (!empty($url)) {
|
||||
$urls[] = $url;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue