Completed
Push — master ( bc3591...499283 )
by Ruud
11:23 queued 11s
created
Kunstmaan/NodeSearchBundle/EventListener/NodeIndexUpdateEventListener.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -29,6 +29,10 @@
 block discarded – undo
29 29
     /** @var array */
30 30
     private $entityChangeSet;
31 31
 
32
+    /**
33
+     * @param \PHPUnit\Framework\MockObject\MockObject $nodePagesConfiguration
34
+     * @param \PHPUnit\Framework\MockObject\MockObject $em
35
+     */
32 36
     public function __construct(/* NodePagesConfiguration */
33 37
         $nodePagesConfiguration, /* EntityManagerInterface */
34 38
         $em = null)
Please login to merge, or discard this patch.
Tests/unit/EventListener/NodeIndexUpdateEventListenerTest.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -146,6 +146,9 @@  discard block
 block discarded – undo
146 146
         $listener = new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)), $em);
147 147
     }
148 148
 
149
+    /**
150
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
151
+     */
149 152
     private function getContainer($searchConfigMock)
150 153
     {
151 154
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -160,6 +163,9 @@  discard block
 block discarded – undo
160 163
         return $container;
161 164
     }
162 165
 
166
+    /**
167
+     * @param boolean $expectCall
168
+     */
163 169
     private function getSearchConfiguration($expectCall)
164 170
     {
165 171
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
Please login to merge, or discard this patch.