mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-18 21:34:35 -04:00
Fix PHPCS ControlSignature (#6896)
Regression from https://github.com/FreshRSS/FreshRSS/pull/6666 We were not checking anymore for whitespace rules in e.g. `if (true) {`
This commit is contained in:
committed by
GitHub
parent
93346bc3b3
commit
b552d9f4bc
@@ -190,7 +190,7 @@ class FreshRSS_subscription_Controller extends FreshRSS_ActionController {
|
||||
}
|
||||
}
|
||||
|
||||
if(!empty($headers)) {
|
||||
if (!empty($headers)) {
|
||||
$headers = array_filter(array_map('trim', $headers));
|
||||
$opts[CURLOPT_HTTPHEADER] = array_merge($headers, $opts[CURLOPT_HTTPHEADER] ?? []);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user