@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | if (isset($matches[$key])) { |
123 | 123 | // increment the weight if the same Record is tagged more than once |
124 | - $weight = intval($matches[$key]) + 1; |
|
124 | + $weight = intval($matches[$key])+1; |
|
125 | 125 | $matches[$key] = $weight; |
126 | 126 | } else { |
127 | 127 | $matches[$key] = 1; |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | $this->numberFound = count($matches); |
142 | 142 | |
143 | 143 | // now paginate |
144 | - $matches = array_slice($matches, $start, $limit + 5); // the +5 is just some padding in case of orphans |
|
144 | + $matches = array_slice($matches, $start, $limit+5); // the +5 is just some padding in case of orphans |
|
145 | 145 | |
146 | 146 | // now load each object |
147 | 147 | foreach ($matches as $key => $weight) { |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | |
228 | 228 | if (isset($matches[$key])) { |
229 | 229 | // increment the weight if the same Record is tagged more than once |
230 | - $weight = intval($matches[$key]) + 1; |
|
230 | + $weight = intval($matches[$key])+1; |
|
231 | 231 | $matches[$key] = $weight; |
232 | 232 | } else { |
233 | 233 | $matches[$key] = 1; |