GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 52ec30...2a1075 )
by Florian
03:17
created
Form/QueryType.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
 	 * @param FacetSet $facets        	
47 47
 	 */
48 48
 	protected function createFacets(FormBuilderInterface $builder, FacetSet $facets) {
49
-		foreach($facets->getFacets() as $facetType => $facetValues) {
50
-			$builder->add('facet_' . $facetType, ChoiceType::class, array(
51
-				'label' => 'stinger_soft_entity_search.forms.query.' . $facetType . '.label',
49
+		foreach ($facets->getFacets() as $facetType => $facetValues) {
50
+			$builder->add('facet_'.$facetType, ChoiceType::class, array(
51
+				'label' => 'stinger_soft_entity_search.forms.query.'.$facetType.'.label',
52 52
 				'multiple' => true,
53 53
 				'expanded' => true,
54 54
 				'choices_as_values' => true,
@@ -65,10 +65,10 @@  discard block
 block discarded – undo
65 65
 	protected function generateFacetChoices($facetType, array $facets) {
66 66
 		$choices = array();
67 67
 		
68
-		foreach($facets as $facet => $count) {
69
-			if($count == 0)
68
+		foreach ($facets as $facet => $count) {
69
+			if ($count == 0)
70 70
 				break;
71
-			$choices[$facet] = $facet . ' (' . $count . ')';
71
+			$choices[$facet] = $facet.' ('.$count.')';
72 72
 		}
73 73
 		return $choices;
74 74
 	}
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,8 +66,9 @@
 block discarded – undo
66 66
 		$choices = array();
67 67
 		
68 68
 		foreach($facets as $facet => $count) {
69
-			if($count == 0)
70
-				break;
69
+			if($count == 0) {
70
+							break;
71
+			}
71 72
 			$choices[$facet] = $facet . ' (' . $count . ')';
72 73
 		}
73 74
 		return $choices;
Please login to merge, or discard this patch.