Completed
Push — master ( a85f01...3f72af )
by Ruud
23:55 queued 09:49
created
Kunstmaan/NodeSearchBundle/EventListener/NodeIndexUpdateEventListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     private $entityChangeSet;
26 26
 
27 27
     /**
28
-     * @param ContainerInterface $container
28
+     * @param \PHPUnit\Framework\MockObject\MockObject $nodePagesConfiguration
29 29
      */
30 30
     public function __construct(/* NodePagesConfiguration */ $nodePagesConfiguration)
31 31
     {
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
@@ -127,6 +127,9 @@  discard block
 block discarded – undo
127 127
         $listener = new NodeIndexUpdateEventListener($this->getContainer($this->getSearchConfiguration(false)));
128 128
     }
129 129
 
130
+    /**
131
+     * @param \PHPUnit\Framework\MockObject\MockObject $searchConfigMock
132
+     */
130 133
     private function getContainer($searchConfigMock)
131 134
     {
132 135
         $container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
@@ -141,6 +144,9 @@  discard block
 block discarded – undo
141 144
         return $container;
142 145
     }
143 146
 
147
+    /**
148
+     * @param boolean $expectCall
149
+     */
144 150
     private function getSearchConfiguration($expectCall)
145 151
     {
146 152
         $searchConfig = $this->createMock(NodePagesConfiguration::class);
Please login to merge, or discard this patch.