summaryrefslogtreecommitdiffstats
path: root/lib/Utility/ProxyConfigParser.php
diff options
context:
space:
mode:
authorSean Molenaar <SMillerDev@users.noreply.github.com>2018-03-27 15:35:06 +0200
committerBernhard Posselt <BernhardPosselt@users.noreply.github.com>2018-03-27 15:35:06 +0200
commit5b94705cf3918dc7986c6043b1fbe776bf22958f (patch)
tree4e8059818a0a913d24938e35238913a721fa6373 /lib/Utility/ProxyConfigParser.php
parentf3c9d13551cef5968baea99c2f25085baee0ed5f (diff)
Core: Fix compatibility with nextcloud codestyle (#280)
Diffstat (limited to 'lib/Utility/ProxyConfigParser.php')
-rw-r--r--lib/Utility/ProxyConfigParser.php18
1 files changed, 11 insertions, 7 deletions
diff --git a/lib/Utility/ProxyConfigParser.php b/lib/Utility/ProxyConfigParser.php
index b8d7515ff..cada79576 100644
--- a/lib/Utility/ProxyConfigParser.php
+++ b/lib/Utility/ProxyConfigParser.php
@@ -5,10 +5,10 @@
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
- * @author Alessandro Cosentino <cosenal@gmail.com>
- * @author Bernhard Posselt <dev@bernhard-posselt.com>
- * @copyright Alessandro Cosentino 2012
- * @copyright Bernhard Posselt 2012, 2014
+ * @author Alessandro Cosentino <cosenal@gmail.com>
+ * @author Bernhard Posselt <dev@bernhard-posselt.com>
+ * @copyright 2012 Alessandro Cosentino
+ * @copyright 2012-2014 Bernhard Posselt
*/
@@ -17,20 +17,24 @@ namespace OCA\News\Utility;
use \OCP\IConfig;
-class ProxyConfigParser {
+class ProxyConfigParser
+{
private $config;
- public function __construct(IConfig $config) {
+ public function __construct(IConfig $config)
+ {
$this->config = $config;
}
/**
* Parses the config and splits up the port + url
+ *
* @return array
*/
- public function parse() {
+ public function parse()
+ {
$proxy = $this->config->getSystemValue('proxy');
$userpasswd = $this->config->getSystemValue('proxyuserpwd');