@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | throw new \Exception("firebase default path must contain /"); |
115 | 115 | } |
116 | 116 | |
117 | - $pathURI = $this->firebaseURI . $this->rootPath . $path . ".json"; |
|
117 | + $pathURI = $this->firebaseURI.$this->rootPath.$path.".json"; |
|
118 | 118 | |
119 | 119 | //set query data |
120 | 120 | $queryData = array(); |
@@ -122,7 +122,7 @@ discard block |
||
122 | 122 | $queryData[Option::OPT_PRINT] = $print; |
123 | 123 | } |
124 | 124 | if (!empty($queryData)) { |
125 | - $pathURI = $pathURI . '?' . http_build_query($queryData); |
|
125 | + $pathURI = $pathURI.'?'.http_build_query($queryData); |
|
126 | 126 | } |
127 | 127 | |
128 | 128 | $this->refreshToken(); |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | public function getShallow($path = '', $options = array()) |
134 | 134 | { |
135 | 135 | return JCRequest::get( |
136 | - $this->getPathURI($path) . '?' . http_build_query(array( |
|
136 | + $this->getPathURI($path).'?'.http_build_query(array( |
|
137 | 137 | Option::OPT_SHALLOW => 'true' |
138 | 138 | )), |
139 | 139 | $this->addDataToRequest($options), |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | |
231 | 231 | protected function refreshToken() |
232 | 232 | { |
233 | - $this->requestHeader['Authorization'] = 'Bearer ' . $this->auth->getAccessToken(); |
|
233 | + $this->requestHeader['Authorization'] = 'Bearer '.$this->auth->getAccessToken(); |
|
234 | 234 | } |
235 | 235 | |
236 | 236 | protected function addDataToPathURI($path = '', $options = array(), $reqType = RequestType::GET) |