@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | protected function getAuthCodeKey($aid) |
46 | 46 | { |
47 | - return $this->namespace . ':' . $aid; |
|
47 | + return $this->namespace.':'.$aid; |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | */ |
46 | 46 | protected function getClientKey($cid) |
47 | 47 | { |
48 | - return $this->namespace . ':' . $cid; |
|
48 | + return $this->namespace.':'.$cid; |
|
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | protected function getClientUsersListKey($cid) |
57 | 57 | { |
58 | - return $this->namespace . ':' . $cid . ':users'; |
|
58 | + return $this->namespace.':'.$cid.':users'; |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | /** |
@@ -51,7 +51,7 @@ |
||
51 | 51 | */ |
52 | 52 | public function updateAttribute() |
53 | 53 | { |
54 | - foreach($this->attributes as $attribute) { |
|
54 | + foreach ($this->attributes as $attribute) { |
|
55 | 55 | if ($this->owner->{$attribute} === null) { |
56 | 56 | $this->owner->{$attribute} = []; |
57 | 57 | } |
@@ -73,7 +73,7 @@ |
||
73 | 73 | if (is_array($data) === false) { |
74 | 74 | $data = explode(' ', $data); |
75 | 75 | } |
76 | - foreach($data as $redirectUri) { |
|
76 | + foreach ($data as $redirectUri) { |
|
77 | 77 | $isLocalhost = strncmp('http://localhost', $redirectUri, 16); |
78 | 78 | $isSecureLocalhost = strncmp('https://localhost', $redirectUri, 17); |
79 | 79 | if (($isLocalhost !== 0) && ($isSecureLocalhost !== 0)) { |