Completed
Pull Request — master (#34)
by
unknown
01:52
created
lib/Model/QueryContent.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,8 +26,8 @@  discard block
 block discarded – undo
26 26
 
27 27
 	/** @var array */
28 28
 	private $options = [
29
-               '+' => [self::OPTION_MUST, 'must', 'match'],
30
-               '-' => [self::OPTION_MUST_NOT, 'must_not', 'match']
29
+			   '+' => [self::OPTION_MUST, 'must', 'match'],
30
+			   '-' => [self::OPTION_MUST_NOT, 'must_not', 'match']
31 31
 	];
32 32
 
33 33
 
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
 	private function init() {
47 47
 		$this->setShould('should');
48
-               $this->setMatch('match');
48
+			   $this->setMatch('match');
49 49
 
50 50
 		$curr = substr($this->getWord(), 0, 1);
51 51
 
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 		if (substr($this->getWord(), 0, 1) === '"') {
60 60
 			$this->setMatch('match');
61 61
 			if (strpos($this->getWord(), " ") > -1) {
62
-                               $this->setMatch('match');
62
+							   $this->setMatch('match');
63 63
 			}
64 64
 		}
65 65
 
Please login to merge, or discard this patch.
lib/Service/SearchMappingService.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -261,9 +261,9 @@
 block discarded – undo
261 261
 		$queryFields = [];
262 262
 		foreach ($fields as $field) {
263 263
 			if (!$this->fieldIsOutLimit($request, $field)) {
264
-                               $value = $content->getWord();
265
-                               $spec = [$field => ["query" => $value, "fuzziness" => "AUTO"]];
266
-                               $queryFields[] = [$content->getMatch() => $spec];
264
+							   $value = $content->getWord();
265
+							   $spec = [$field => ["query" => $value, "fuzziness" => "AUTO"]];
266
+							   $queryFields[] = [$content->getMatch() => $spec];
267 267
 			}
268 268
 		}
269 269
 
Please login to merge, or discard this patch.