diff options
| author | 2024-10-15 10:56:33 +0200 | |
|---|---|---|
| committer | 2024-10-15 10:56:33 +0200 | |
| commit | b552d9f4bc900462bb44fa4c1731a9443ec3e476 (patch) | |
| tree | 2a9a72b71fe3c040f817f6eeba8b5868deb40442 /app/Controllers/feedController.php | |
| parent | 93346bc3b3407fa547c138bcf33438ce508e5c38 (diff) | |
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) {`
Diffstat (limited to 'app/Controllers/feedController.php')
| -rwxr-xr-x | app/Controllers/feedController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/feedController.php b/app/Controllers/feedController.php index 26e3caa3c..48a829b10 100755 --- a/app/Controllers/feedController.php +++ b/app/Controllers/feedController.php @@ -209,7 +209,7 @@ class FreshRSS_feed_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] ?? []); } |
