Completed
Pull Request — master (#178)
by Robbie
05:56
created
src/Solr/Services/SolrService.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     /**
19 19
      * Handle encoding the GET parameters and making the HTTP call to execute a core command
20
+     * @param string $command
20 21
      */
21 22
     protected function coreCommand($command, $core, $params = array())
22 23
     {
@@ -51,7 +52,7 @@  discard block
 block discarded – undo
51 52
      * @param $config string - The filename of solrconfig.xml on the server. Default is $instancedir/solrconfig.xml
52 53
      * @param $schema string - The filename of schema.xml on the server. Default is $instancedir/schema.xml
53 54
      * @param $datadir string - The path to store data for this core on the server. Default depends on solrconfig.xml
54
-     * @return Apache_Solr_Response
55
+     * @return \Apache_Solr_Response
55 56
      */
56 57
     public function coreCreate($core, $instancedir, $config = null, $schema = null, $datadir = null)
57 58
     {
@@ -72,7 +73,7 @@  discard block
 block discarded – undo
72 73
     /**
73 74
      * Reload a core
74 75
      * @param $core string - The name of the core
75
-     * @return Apache_Solr_Response
76
+     * @return \Apache_Solr_Response
76 77
      */
77 78
     public function coreReload($core)
78 79
     {
Please login to merge, or discard this patch.
src/Solr/SolrIndex.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
      * @param string $forceType The type to force this field as (required in some cases, when not
290 290
      * detectable from metadata)
291 291
      * @param array $extraOptions Dependent on search implementation
292
-     * @param float $boost Numeric boosting value (defaults to 2)
292
+     * @param integer $boost Numeric boosting value (defaults to 2)
293 293
      */
294 294
     public function addBoostedField($field, $forceType = null, $extraOptions = array(), $boost = 2)
295 295
     {
@@ -298,6 +298,9 @@  discard block
 block discarded – undo
298 298
     }
299 299
 
300 300
 
301
+    /**
302
+     * @param string $field
303
+     */
301 304
     public function fieldData($field, $forceType = null, $extraOptions = array())
302 305
     {
303 306
         // Ensure that 'boost' is recorded here without being captured by solr
@@ -508,6 +511,9 @@  discard block
 block discarded – undo
508 511
         return $class === $base || is_subclass_of($class, $base);
509 512
     }
510 513
 
514
+    /**
515
+     * @param \Apache_Solr_Document $doc
516
+     */
511 517
     protected function _addField($doc, $object, $field)
512 518
     {
513 519
         $class = get_class($object);
@@ -557,6 +563,9 @@  discard block
 block discarded – undo
557 563
         }
558 564
     }
559 565
 
566
+    /**
567
+     * @param string $base
568
+     */
560 569
     protected function _addAs($object, $base, $options)
561 570
     {
562 571
         $includeSubs = $options['include_children'];
Please login to merge, or discard this patch.