summaryrefslogtreecommitdiff
path: root/src/Configuration.php
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2018-11-18 22:51:56 +0000
committerAndres Rey <[email protected]>2018-11-18 22:51:56 +0000
commit8f3c9864d07c2d3095f86c18f866fddef8c30f6a (patch)
tree407f7ae395eefe67ff8e3d2082116a225e8b6352 /src/Configuration.php
parent09299b8d168e6918ce88f3ed2d6be315250a0597 (diff)
Avoid unnecessary else
Diffstat (limited to 'src/Configuration.php')
-rw-r--r--src/Configuration.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Configuration.php b/src/Configuration.php
index 65905b8..9b25122 100644
--- a/src/Configuration.php
+++ b/src/Configuration.php
@@ -109,9 +109,9 @@ class Configuration
// If no logger has been set, just return a null logger
if ($this->logger === null) {
return new NullLogger();
- } else {
- return $this->logger;
}
+
+ return $this->logger;
}
/**