@@ -122,7 +122,7 @@ |
||
| 122 | 122 | 'description' => trim(strip_tags((string)$item->description)), |
| 123 | 123 | ]; |
| 124 | 124 | } |
| 125 | - usort($items, function ($item1, $item2) { |
|
| 125 | + usort($items, function($item1, $item2) { |
|
| 126 | 126 | return new \DateTime($item2['pubDate']) <=> new \DateTime($item1['pubDate']); |
| 127 | 127 | }); |
| 128 | 128 | $items = array_slice($items, 0, $this->options['limit']); |