Completed
Push — symfony4 ( 6bce00...4f08c4 )
by
unknown
26s
created
src/SWP/Bundle/MultiTenancyBundle/Context/TenantContext.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,8 +62,9 @@
 block discarded – undo
62 62
    * {@inheritdoc}
63 63
    */
64 64
   public function getTenant() {
65
-    if ($this->tenant !== null)
66
-      return $this->tenant;
65
+    if ($this->tenant !== null) {
66
+          return $this->tenant;
67
+    }
67 68
 
68 69
     $currentRequest = $this->requestStack->getCurrentRequest();
69 70
     if (null !== $currentRequest && false !== strpos($currentRequest->getRequestUri(), '_profiler')) {
Please login to merge, or discard this patch.