Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-01-26 12:15:39 +0300
committerGitHub <noreply@github.com>2018-01-26 12:15:39 +0300
commitc2b1bd92d6f6e675f7ffab420cd61c5be701c4a6 (patch)
tree10e093ff030f1436fe3862c4b1944dbcf050723d /core/Command
parentfab951e4b3d103b68b21ccb864d229c4023b57ac (diff)
parent0a56d2185e79caf81f5160cb8503955d9c3108a6 (diff)
Merge pull request #8063 from nextcloud/inline-value
Return value immediately instead of assigning to a one-time variable
Diffstat (limited to 'core/Command')
-rw-r--r--core/Command/Config/Import.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/Command/Config/Import.php b/core/Command/Config/Import.php
index 4a8db1c9656..b6aa6e3411d 100644
--- a/core/Command/Config/Import.php
+++ b/core/Command/Config/Import.php
@@ -113,8 +113,7 @@ class Import extends Command implements CompletionAwareInterface {
* @return string
*/
protected function getArrayFromFile($importFile) {
- $content = file_get_contents($importFile);
- return $content;
+ return file_get_contents($importFile);
}
/**