Completed
Push — master ( 0f71cc...99d0b0 )
by Karel
15:42
created
Tests/Finder/TransformedFinderTest.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -97,6 +97,9 @@  discard block
 block discarded – undo
97 97
         $this->assertInstanceOf(HybridPaginatorAdapter::class, $finder->createHybridPaginatorAdapter(''));
98 98
     }
99 99
 
100
+    /**
101
+     * @param string $transformMethod
102
+     */
100 103
     private function createMockTransformer($transformMethod)
101 104
     {
102 105
         $transformer = $this->createMock(ElasticaToModelTransformerInterface::class);
@@ -109,6 +112,11 @@  discard block
 block discarded – undo
109 112
         return $transformer;
110 113
     }
111 114
 
115
+    /**
116
+     * @param \PHPUnit\Framework\MockObject\MockObject $transformer
117
+     * @param Query $query
118
+     * @param integer $limit
119
+     */
112 120
     private function createMockFinderForSearch($transformer, $query, $limit)
113 121
     {
114 122
         $searchable = $this->createMock(SearchableInterface::class);
Please login to merge, or discard this patch.
Tests/Index/AliasProcessorTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -212,6 +212,9 @@
 block discarded – undo
212 212
         ];
213 213
     }
214 214
 
215
+    /**
216
+     * @param string $name
217
+     */
215 218
     private function getMockedIndex($name)
216 219
     {
217 220
         $index = $this->createMock(Index::class);
Please login to merge, or discard this patch.
Tests/Index/ResetterTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -238,6 +238,9 @@  discard block
 block discarded – undo
238 238
         call_user_func_array([$expectation, 'withConsecutive'], $events);
239 239
     }
240 240
 
241
+    /**
242
+     * @param string $indexName
243
+     */
241 244
     private function mockIndex($indexName, IndexConfig $config, $mapping = [])
242 245
     {
243 246
         $this->configManager->expects($this->atLeast(1))
@@ -257,6 +260,10 @@  discard block
 block discarded – undo
257 260
         return $index;
258 261
     }
259 262
 
263
+    /**
264
+     * @param string $typeName
265
+     * @param string $indexName
266
+     */
260 267
     private function mockType($typeName, $indexName, TypeConfig $typeConfig, IndexConfig $indexConfig, $mapping = [])
261 268
     {
262 269
         $this->configManager->expects($this->atLeast(1))
Please login to merge, or discard this patch.
Tests/RepositoryTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -66,6 +66,9 @@
 block discarded – undo
66 66
         $repository->findHybrid($testQuery);
67 67
     }
68 68
 
69
+    /**
70
+     * @param string $testQuery
71
+     */
69 72
     private function getFinderMock($testQuery, $testLimit = null, $method = 'find')
70 73
     {
71 74
         $finderMock = $this->createMock(TransformedFinder::class);
Please login to merge, or discard this patch.