Completed
Push — master ( 7fbdb7...864670 )
by Adam
02:43
created
src/BestServedCold/LaravelZendSearch/Laravel/Store.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -19,11 +19,17 @@
 block discarded – undo
19 19
         $this->delete($model->id, $this->uid);
20 20
     }
21 21
 
22
+    /**
23
+     * @param Model $model
24
+     */
22 25
     private function filterFields($model)
23 26
     {
24 27
         return $this->filterKeysFromArray($model->attributesToArray(), $model::getSearchFields());
25 28
     }
26 29
 
30
+    /**
31
+     * @param Model $model
32
+     */
27 33
     private function filterParameters($model)
28 34
     {
29 35
         if (! empty($model::getSearchParameters())) {
Please login to merge, or discard this patch.
src/BestServedCold/LaravelZendSearch/Lucene/Index.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param $limit
42
+     * @param integer $limit
43 43
      * @return $this
44 44
      */
45 45
     public function limit($limit)
@@ -79,7 +79,6 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param  bool $path
83 82
      * @return string
84 83
      * @throws \Exception
85 84
      */
Please login to merge, or discard this patch.
src/BestServedCold/LaravelZendSearch/Lucene/Search.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * Search constructor.
23 23
      * @param Index $index
24
-     * @param \BestServedCold\LaravelZendSearch\Query $query
24
+     * @param Query $query
25 25
      */
26 26
     public function __construct(Index $index, Query $query)
27 27
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 
122 122
     /**
123 123
      * @param $string
124
-     * @param array|bool|string $field
124
+     * @param string $field
125 125
      * @todo  Work out why the search only works if the string is uppercase...
126 126
      * @return $this|bool
127 127
      */
Please login to merge, or discard this patch.
src/BestServedCold/LaravelZendSearch/Lucene/Search/AbstractType.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
8 8
     protected $field = false;
9 9
     protected $Options = [];
10 10
 
11
+    /**
12
+     * @param boolean $string
13
+     */
11 14
     public function __construct($string, $field = false, $options = [])
12 15
     {
13 16
         $this->string  = $string;
Please login to merge, or discard this patch.
src/BestServedCold/LaravelZendSearch/Lucene/Store/Insert.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param  $id
50 50
      * @param  array       $fields     fields that are indexed
51 51
      * @param  array       $parameters fields that aren't indexed
52
-     * @param  boolean|int $uid        unique identifier, if required
52
+     * @param  boolean|string $uid        unique identifier, if required
53 53
      * @return mixed
54 54
      */
55 55
     public function insert($id, array $fields, array $parameters = [], $uid = false)
Please login to merge, or discard this patch.