Completed
Pull Request — 3.x-dev-kit (#469)
by Sullivan
30:46 queued 28:55
created
src/Document/PostManager.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -78,6 +78,8 @@
 block discarded – undo
78 78
 
79 79
     /**
80 80
      * {@inheritdoc}
81
+     * @param string $date
82
+     * @param string $step
81 83
      */
82 84
     public function getPublicationDateQueryParts($date, $step, $alias = 'p')
83 85
     {
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
@@ -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.
tests/Entity/PostManagerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -62,6 +62,9 @@  discard block
 block discarded – undo
62 62
         ;
63 63
     }
64 64
 
65
+    /**
66
+     * @param integer $flag
67
+     */
65 68
     public function assertPostEnabled($qb, $flag)
66 69
     {
67 70
         $qb->expects($this->once())->method('andWhere')->with($this->equalTo('p.enabled = :enabled'));
@@ -247,6 +250,9 @@  discard block
 block discarded – undo
247 250
         $this->assertEquals(new \DateTime('2010-03-10'), $result['params']['endDate']);
248 251
     }
249 252
 
253
+    /**
254
+     * @param \Closure $qbCallback
255
+     */
250 256
     protected function getPostManager($qbCallback)
251 257
     {
252 258
         $em = EntityManagerMockFactory::create($this, $qbCallback, []);
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.