Completed
Push — master ( f15b87...442456 )
by AJ
01:53
created
src/Shell/Helper/HeaderHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Cake\Console\Helper;
19 19
 
20 20
 class HeaderHelper extends Helper {
21
-    public function output($args = null) {
21
+    public function output ($args = null) {
22 22
         $this->_io->out("\n\n");
23 23
         $this->_io->styles('header', ['text' => 'green']);
24 24
 
Please login to merge, or discard this patch.
src/Shell/SubdomainsInstallShell.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
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
 	
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	
139 139
 	}
140 140
 	
141
-	private function _modifyArray(array $array) {
141
+	private function _modifyArray (array $array) {
142 142
 
143 143
 		return array_combine(range(1, count($array)), array_values($array)); ;	
144 144
 		
Please login to merge, or discard this patch.
src/Routing/SubdomainRouteTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
 trait SubdomainRouteTrait {
23 23
  	
24
-    private function _getSubdomains() {
24
+    private function _getSubdomains () {
25 25
 	
26 26
         $validConfiguration = Configure::check('Multidimensional/Subdomains.subdomains');
27 27
 		
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 		
40 40
     }
41 41
 
42
-    private function _getPrefixAndHost(array $context = []) {
42
+    private function _getPrefixAndHost (array $context = []) {
43 43
         if (empty($context['_host'])) {
44 44
             $request = Router::getRequest(true) ?: Request::createFromGlobals();
45 45
             $host = $request->host();
@@ -54,12 +54,12 @@  discard block
 block discarded – undo
54 54
         }
55 55
     }
56 56
 
57
-    private function _checkPrefix($prefix) {
57
+    private function _checkPrefix ($prefix) {
58 58
         $routePrefix = isset($this->defaults['prefix']) ? $this->defaults['prefix'] : false;
59 59
         return $prefix === $routePrefix;
60 60
     }
61 61
 
62
-    public function parse($url, $method = '') {
62
+    public function parse ($url, $method = '') {
63 63
         list($prefix) = $this->_getPrefixAndHost();
64 64
         if (!$this->_checkPrefix($prefix)) {
65 65
             return false;
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         return parent::parse($url, $method);
68 68
     }
69 69
 
70
-    public function match(array $url, array $context = []) {
70
+    public function match (array $url, array $context = []) {
71 71
         if (!isset($url['prefix'])) {
72 72
             $url['prefix'] = false;
73 73
         }
Please login to merge, or discard this patch.