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 ( 2f2f35...e5e78d )
by Florian
07:45
created
Services/Mapping/EntityToDocumentMapper.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -105,12 +105,14 @@
 block discarded – undo
105 105
 	 * @see \StingerSoft\EntitySearchBundle\Services\Mapping\EntityToDocumentMapperInterface::createDocument()
106 106
 	 */
107 107
 	public function createDocument(ObjectManager $manager, $object) {
108
-		if(!$this->isIndexable($object))
109
-			return false;
108
+		if(!$this->isIndexable($object)) {
109
+					return false;
110
+		}
110 111
 		$document = $this->getSearchService($manager)->createEmptyDocumentFromEntity($object);
111 112
 		$index = $this->fillDocument($document, $object);
112
-		if($index == false)
113
-			return false;
113
+		if($index == false) {
114
+					return false;
115
+		}
114 116
 		
115 117
 		return $document;
116 118
 	}
Please login to merge, or discard this patch.