| @@ -20,7 +20,7 @@ discard block | ||
| 20 | 20 | |
| 21 | 21 |  class SubdomainsInstallShell extends Shell { | 
| 22 | 22 | |
| 23 | -    public function main () { | |
| 23 | +    public function main() { | |
| 24 | 24 | |
| 25 | 25 | $subdomains = array(); | 
| 26 | 26 | |
| @@ -119,14 +119,14 @@ discard block | ||
| 119 | 119 | |
| 120 | 120 | } | 
| 121 | 121 | |
| 122 | -    private function _modifyArray (array $array) { | |
| 122 | +    private function _modifyArray(array $array) { | |
| 123 | 123 | |
| 124 | 124 | return array_combine(range(1, count($array)), array_values($array)); ; | 
| 125 | 125 | |
| 126 | 126 | } | 
| 127 | 127 | |
| 128 | 128 | |
| 129 | -    private function _currentSubdomains (array $subdomains) { | |
| 129 | +    private function _currentSubdomains(array $subdomains) { | |
| 130 | 130 | |
| 131 | 131 |          if ($this->_countSubdomains($subdomains)) { | 
| 132 | 132 | |
| @@ -143,13 +143,13 @@ discard block | ||
| 143 | 143 | |
| 144 | 144 | } | 
| 145 | 145 | |
| 146 | -    private function _askAddSubdomain () { | |
| 146 | +    private function _askAddSubdomain() { | |
| 147 | 147 | |
| 148 | 148 |          return (strtolower($this->in('Add Subdomain?', ['y', 'n'])) === 'y'); | 
| 149 | 149 | |
| 150 | 150 | } | 
| 151 | 151 | |
| 152 | -    private function _askDeleteSubdomain () { | |
| 152 | +    private function _askDeleteSubdomain() { | |
| 153 | 153 | |
| 154 | 154 |          return (strtolower($this->in('Delete Subdomain?', ['y', 'n'])) === 'y'); | 
| 155 | 155 | |
| @@ -158,7 +158,7 @@ discard block | ||
| 158 | 158 | /** | 
| 159 | 159 | * @param integer $key | 
| 160 | 160 | */ | 
| 161 | -    private function _deleteSubdomain (&$subdomains, $key) { | |
| 161 | +    private function _deleteSubdomain(&$subdomains, $key) { | |
| 162 | 162 | |
| 163 | 163 |          if (isset($subdomains[$key])) { | 
| 164 | 164 | |
| @@ -177,7 +177,7 @@ discard block | ||
| 177 | 177 | /** | 
| 178 | 178 | * @param string|null $subdomain | 
| 179 | 179 | */ | 
| 180 | -    private function _validateSubdomain ($subdomain) { | |
| 180 | +    private function _validateSubdomain($subdomain) { | |
| 181 | 181 | |
| 182 | 182 |          if (is_null($subdomain) || empty($subdomain)) { | 
| 183 | 183 | return false; | 
| @@ -187,13 +187,13 @@ discard block | ||
| 187 | 187 | |
| 188 | 188 | } | 
| 189 | 189 | |
| 190 | -    private function _askStartOver () { | |
| 190 | +    private function _askStartOver() { | |
| 191 | 191 | |
| 192 | 192 |          return (strtolower($this->in('Start Over?', ['y', 'n'])) === 'y'); | 
| 193 | 193 | |
| 194 | 194 | } | 
| 195 | 195 | |
| 196 | -    private function _countSubdomains ($subdomains) { | |
| 196 | +    private function _countSubdomains($subdomains) { | |
| 197 | 197 | |
| 198 | 198 |          if (!is_array($subdomains) || is_null($subdomains)) { | 
| 199 | 199 | return false; |