Completed
Pull Request — 3.x (#505)
by Oskar
08:31 queued 06:42
created
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)
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.