Completed
Push — master ( 37876c...34238f )
by Marko
9s
created
src/Twig/Extension/NewsExtension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     /**
55 55
      * Returns a list of functions to add to the existing list.
56 56
      *
57
-     * @return array An array of functions
57
+     * @return \Twig_SimpleFunction[] An array of functions
58 58
      */
59 59
     public function getFunctions()
60 60
     {
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
@@ -76,6 +76,7 @@
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * {@inheritdoc}
79
+     * @param integer $page
79 80
      */
80 81
     public function getPager(array $criteria, $page, $limit = 10, array $sort = [])
81 82
     {
Please login to merge, or discard this patch.
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/Entity/PostManagerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
         ;
65 65
     }
66 66
 
67
+    /**
68
+     * @param integer $flag
69
+     */
67 70
     public function assertPostEnabled($qb, $flag): void
68 71
     {
69 72
         $qb->expects($this->once())->method('andWhere')->with($this->equalTo('p.enabled = :enabled'));
@@ -249,6 +252,9 @@  discard block
 block discarded – undo
249 252
         $this->assertEquals(new \DateTime('2010-03-10'), $result['params']['endDate']);
250 253
     }
251 254
 
255
+    /**
256
+     * @param \Closure $qbCallback
257
+     */
252 258
     protected function getPostManager($qbCallback)
253 259
     {
254 260
         $em = EntityManagerMockFactory::create($this, $qbCallback, []);
Please login to merge, or discard this patch.