@@ -36,7 +36,7 @@ |
||
| 36 | 36 | { |
| 37 | 37 | /** |
| 38 | 38 | * |
| 39 | - * @param Response $response |
|
| 39 | + * @param ResponseInterface $response |
|
| 40 | 40 | * @param array $data |
| 41 | 41 | * @param int $status |
| 42 | 42 | * |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | 'uri' => 'http://andreas.heigl.org', |
| 57 | 57 | ]); |
| 58 | 58 | $feed->setDateModified(time()); |
| 59 | - if (! isset($data['cfps'])) { |
|
| 59 | + if (!isset($data['cfps'])) { |
|
| 60 | 60 | $data['cfps'] = []; |
| 61 | 61 | } |
| 62 | 62 | foreach ($data['cfps'] as $cfp) { |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | $entry->setContent($cfp['description']); |
| 79 | 79 | |
| 80 | 80 | $feed->addEntry($entry); |
| 81 | - } catch(\Exception $e){} |
|
| 81 | + } catch (\Exception $e) {} |
|
| 82 | 82 | } |
| 83 | 83 | |
| 84 | 84 | $response = $response->withHeader('Content-Type', 'application/rss+xml'); |