Completed
Push — master ( 0ea8fb...db8ca1 )
by Florian
09:33 queued 11s
created
Model/Result/FacetSetAdapter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,10 +33,10 @@  discard block
 block discarded – undo
33 33
 
34 34
 	public function addFacetValue(string $key, string $label, $value = null, int $increaseCounterBy = 1) : void {
35 35
 		$value = $value ?? $label;
36
-		if(!isset($this->facets[$key])) {
36
+		if (!isset($this->facets[$key])) {
37 37
 			$this->facets[$key] = array();
38 38
 		}
39
-		if(!isset($this->facets[$key][$label])) {
39
+		if (!isset($this->facets[$key][$label])) {
40 40
 			$this->facets[$key][$label] = array(
41 41
 				'value' => $value,
42 42
 				'count' => 0,
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	 * @see \StingerSoft\EntitySearchBundle\Model\Result\FacetSet::getFacet()
53 53
 	 */
54 54
 	public function getFacet(string $key): ?array {
55
-		if(isset($this->facets[$key])) {
55
+		if (isset($this->facets[$key])) {
56 56
 			return $this->facets[$key];
57 57
 		}
58 58
 		return null;
Please login to merge, or discard this patch.