Completed
Push — master ( 77bfc7...e8c97b )
by Grégoire
13s queued 10s
created
src/Controller/Api/PostController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      *
156 156
      * @throws NotFoundHttpException
157 157
      *
158
-     * @return Post
158
+     * @return FormInterface
159 159
      */
160 160
     public function postPostAction(Request $request)
161 161
     {
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      *
186 186
      * @throws NotFoundHttpException
187 187
      *
188
-     * @return Post
188
+     * @return FormInterface
189 189
      */
190 190
     public function putPostAction($id, Request $request)
191 191
     {
Please login to merge, or discard this patch.
tests/Controller/Api/PostControllerTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -356,7 +356,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
tests/Entity/PostManagerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@  discard block
 block discarded – undo
65 65
         ;
66 66
     }
67 67
 
68
+    /**
69
+     * @param integer $flag
70
+     */
68 71
     public function assertPostEnabled($qb, $flag): void
69 72
     {
70 73
         $qb->expects($this->once())->method('andWhere')->with($this->equalTo('p.enabled = :enabled'));
@@ -252,6 +255,9 @@  discard block
 block discarded – undo
252 255
         $this->assertSame('2010-03-10', $result['params']['endDate']->format('Y-m-d'));
253 256
     }
254 257
 
258
+    /**
259
+     * @param \Closure $qbCallback
260
+     */
255 261
     protected function getPostManager($qbCallback)
256 262
     {
257 263
         $em = EntityManagerMockFactory::create($this, $qbCallback, []);
Please login to merge, or discard this patch.
src/Twig/Extension/NewsExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Event/CommentEvent.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
      */
30 30
     private $comment;
31 31
 
32
+    /**
33
+     * @param Request $request
34
+     */
32 35
     public function __construct(CommentInterface $comment, ?Request $request = null)
33 36
     {
34 37
         $this->comment = $comment;
Please login to merge, or discard this patch.
src/Entity/PostManager.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -83,6 +83,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.