| 
					
				 | 
			
			
				@@ -25,7 +25,7 @@ class FeedController extends AbstractController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $articles = $this->articleRepository->findBy(criteria: ['state' => 'published'], orderBy: ['publicationDate' => 'DESC']); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        $feedContent = $this->feedService->createFeed($articles, $type, $this->articleRepository->findLastPublicationDate()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        $feedContent = $this->feedService->createFeed($articles, $this->articleRepository->findLastPublicationDate(), $type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         $contentType = $type === FeedService::RSS ? 'application/rss+xml' : 'application/atom+xml'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |