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 ( 1a5f24...36b55b )
by Florian
03:10
created
Services/DoctrineListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	}
63 63
 
64 64
 	public function postFlush(PostFlushEventArgs $eventArgs) {
65
-		if($this->needsFlush) {
65
+		if ($this->needsFlush) {
66 66
 			$this->needsFlush = false;
67 67
 			$eventArgs->getEntityManager()->flush();
68 68
 		}
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
 	 */
110 110
 	protected function updateEntity($entity, ObjectManager $manager) {
111 111
 		$document = $this->getEntityToDocumentMapper()->createDocument($manager, $entity);
112
-		if($document !== false) {
112
+		if ($document !== false) {
113 113
 			$this->getSearchService($manager)->saveDocument($document);
114 114
 			$this->needsFlush = true;
115 115
 		}
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
 	 */
122 122
 	protected function removeEntity($entity, ObjectManager $manager) {
123 123
 		$document = $this->getEntityToDocumentMapper()->createDocument($manager, $entity);
124
-		if($document !== false) {
124
+		if ($document !== false) {
125 125
 			$this->getSearchService($manager)->removeDocument($document);
126 126
 			$this->needsFlush = true;
127 127
 		}
Please login to merge, or discard this patch.