@@ -16,8 +16,7 @@ discard block |
||
16 | 16 | * |
17 | 17 | * @param OutputInterface $output |
18 | 18 | */ |
19 | - public function __construct(OutputInterface $output) |
|
20 | - { |
|
19 | + public function __construct(OutputInterface $output) { |
|
21 | 20 | $this->_projectPath = getcwd(); |
22 | 21 | $this->_config = $this->getConfigFile($output); |
23 | 22 | } |
@@ -27,8 +26,7 @@ discard block |
||
27 | 26 | * |
28 | 27 | * @return mixed |
29 | 28 | */ |
30 | - public function __get($name) |
|
31 | - { |
|
29 | + public function __get($name) { |
|
32 | 30 | return $this->_config['magestead']['apps']['mba_12345'][$name]; |
33 | 31 | } |
34 | 32 | |
@@ -37,8 +35,7 @@ discard block |
||
37 | 35 | * |
38 | 36 | * @return bool|mixed |
39 | 37 | */ |
40 | - protected function getConfigFile(OutputInterface $output) |
|
41 | - { |
|
38 | + protected function getConfigFile(OutputInterface $output) { |
|
42 | 39 | $config = new Parser(); |
43 | 40 | try { |
44 | 41 | return $config->parse($this->readConfigFile()); |
@@ -54,8 +51,7 @@ discard block |
||
54 | 51 | * |
55 | 52 | * @return string |
56 | 53 | */ |
57 | - protected function readConfigFile() |
|
58 | - { |
|
54 | + protected function readConfigFile() { |
|
59 | 55 | if (!file_exists($this->_projectPath.'/magestead.yaml')) { |
60 | 56 | throw new MissingConfigFileException('No config file was found, are you in the project root?'); |
61 | 57 | } |