@@ -356,7 +356,7 @@  | 
                                                    ||
| 356 | 356 | * @param null $commentManager  | 
                                                        
| 357 | 357 | * @param null $mailer  | 
                                                        
| 358 | 358 | * @param null $formFactory  | 
                                                        
| 359 | - * @param null $formatterPool  | 
                                                        |
| 359 | + * @param Pool $formatterPool  | 
                                                        |
| 360 | 360 | *  | 
                                                        
| 361 | 361 | * @return PostController  | 
                                                        
| 362 | 362 | */  | 
                                                        
@@ -70,7 +70,7 @@  | 
                                                    ||
| 70 | 70 | /**  | 
                                                        
| 71 | 71 | * Returns a list of functions to add to the existing list.  | 
                                                        
| 72 | 72 | *  | 
                                                        
| 73 | - * @return array An array of functions  | 
                                                        |
| 73 | + * @return TwigFunction[] An array of functions  | 
                                                        |
| 74 | 74 | */  | 
                                                        
| 75 | 75 | public function getFunctions()  | 
                                                        
| 76 | 76 |      { | 
                                                        
@@ -83,6 +83,7 @@  | 
                                                    ||
| 83 | 83 | * author - 'NULL', 'NOT NULL', id, array of ids  | 
                                                        
| 84 | 84 | * collections - CollectionInterface  | 
                                                        
| 85 | 85 | * mode - string public|admin.  | 
                                                        
| 86 | + * @param integer $page  | 
                                                        |
| 86 | 87 | */  | 
                                                        
| 87 | 88 | public function getPager(array $criteria, $page, $limit = 10, array $sort = [])  | 
                                                        
| 88 | 89 |      { | 
                                                        
@@ -81,6 +81,9 @@  | 
                                                    ||
| 81 | 81 | ], 1);  | 
                                                        
| 82 | 82 | }  | 
                                                        
| 83 | 83 | |
| 84 | + /**  | 
                                                        |
| 85 | + * @param \Closure $qbCallback  | 
                                                        |
| 86 | + */  | 
                                                        |
| 84 | 87 | protected function getCommentManager($qbCallback)  | 
                                                        
| 85 | 88 |      { | 
                                                        
| 86 | 89 | $em = $this->createEntityManagerMock($qbCallback, []);  | 
                                                        
@@ -67,6 +67,9 @@ discard block  | 
                                                    ||
| 67 | 67 | ;  | 
                                                        
| 68 | 68 | }  | 
                                                        
| 69 | 69 | |
| 70 | + /**  | 
                                                        |
| 71 | + * @param integer $flag  | 
                                                        |
| 72 | + */  | 
                                                        |
| 70 | 73 | public function assertPostEnabled($qb, $flag): void  | 
                                                        
| 71 | 74 |      { | 
                                                        
| 72 | 75 |          $qb->expects($this->once())->method('andWhere')->with($this->equalTo('p.enabled = :enabled')); | 
                                                        
@@ -254,6 +257,9 @@ discard block  | 
                                                    ||
| 254 | 257 |          $this->assertSame('2010-03-10', $result['params']['endDate']->format('Y-m-d')); | 
                                                        
| 255 | 258 | }  | 
                                                        
| 256 | 259 | |
| 260 | + /**  | 
                                                        |
| 261 | + * @param \Closure $qbCallback  | 
                                                        |
| 262 | + */  | 
                                                        |
| 257 | 263 | protected function getPostManager($qbCallback)  | 
                                                        
| 258 | 264 |      { | 
                                                        
| 259 | 265 | $em = $this->createEntityManagerMock($qbCallback, []);  |