From e4da18707f1c0be146538b342f8dd7f8b2770d93 Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Thu, 20 Dec 2018 14:47:14 +0100 Subject: [PATCH] Code style --- src/Handler.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Handler.php b/src/Handler.php index f963d55..d16de1b 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -365,10 +365,8 @@ class Handler extends BaseHandler { return $mount['Source']; } } - else { - if (strpos($projectRoot, $mount['Destination']) === 0) { - return $mount['Source'] . substr($projectRoot, strlen($mount['Destination'])); - } + else if (strpos($projectRoot, $mount['Destination']) === 0) { + return $mount['Source'] . substr($projectRoot, strlen($mount['Destination'])); } } return getcwd(); -- GitLab