Completed
Push — 6.0-dev ( 1ef812...ceea66 )
by Simonas
01:30
created
DependencyInjection/Compiler/MappingPass.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -72,6 +72,9 @@
 block discarded – undo
72 72
         $container->setParameter(Configuration::ONGR_DEFAULT_INDEX, $defaultIndex);
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $directory
77
+     */
75 78
     private function getNamespaces($directory): array
76 79
     {
77 80
         if (!is_dir($directory)) {
Please login to merge, or discard this patch.
EventListener/TerminateListener.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * @param Container $container
24
-     * @param IndexService[]     $managers
25 24
      */
26 25
     public function __construct(Container $container, array $indexes)
27 26
     {
Please login to merge, or discard this patch.
Mapping/DocumentParser.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         AnnotationRegistry::registerLoader('class_exists');
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $namespace
52
+     */
50 53
     public function getIndexAliasName($namespace): string
51 54
     {
52 55
         $class = new \ReflectionClass($namespace);
@@ -80,6 +83,9 @@  discard block
 block discarded – undo
80 83
         return $document->typeName ?? '_doc';
81 84
     }
82 85
 
86
+    /**
87
+     * @param string $namespace
88
+     */
83 89
     public function getIndexMetadata($namespace): array
84 90
     {
85 91
         $class = new \ReflectionClass($namespace);
Please login to merge, or discard this patch.
Service/IndexService.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -217,8 +217,8 @@  discard block
 block discarded – undo
217 217
      *
218 218
      * @param array      $criteria   Example: ['group' => ['best', 'worst'], 'job' => 'medic'].
219 219
      * @param array|null $orderBy    Example: ['name' => 'ASC', 'surname' => 'DESC'].
220
-     * @param int|null   $limit      Default is 10.
221
-     * @param int|null   $offset     Default is 0.
220
+     * @param integer   $limit      Default is 10.
221
+     * @param integer   $offset     Default is 0.
222 222
      *
223 223
      * @return array|DocumentIterator The objects.
224 224
      */
@@ -261,6 +261,9 @@  discard block
 block discarded – undo
261 261
         return new Search();
262 262
     }
263 263
 
264
+    /**
265
+     * @param string $scrollDuration
266
+     */
264 267
     public function getScrollConfiguration($raw, $scrollDuration): array
265 268
     {
266 269
         $scrollConfig = [];
Please login to merge, or discard this patch.
Service/Json/JsonReader.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -59,6 +59,9 @@
 block discarded – undo
59 59
         return $this->index;
60 60
     }
61 61
 
62
+    /**
63
+     * @return resource
64
+     */
62 65
     protected function getFileHandler()
63 66
     {
64 67
         //Make sure the gzip option is resolved from a filename.
Please login to merge, or discard this patch.