@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | throw new \Exception("firebase default path must contain /"); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | - $pathURI = $this->firebaseURI . $this->firebaseDefaultPath . $path . ".json"; |
|
| 69 | + $pathURI = $this->firebaseURI.$this->firebaseDefaultPath.$path.".json"; |
|
| 70 | 70 | |
| 71 | 71 | //set query data |
| 72 | 72 | $queryData = array(); |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | $queryData[JCFirebaseOption::OPTION_PRINT] = $print; |
| 75 | 75 | } |
| 76 | 76 | if (!empty($queryData)) { |
| 77 | - $pathURI = $pathURI . '?' . http_build_query($queryData); |
|
| 77 | + $pathURI = $pathURI.'?'.http_build_query($queryData); |
|
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | $this->refreshToken(); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | public function getShallow($path = '', $options = array()) |
| 86 | 86 | { |
| 87 | 87 | return Requests::get( |
| 88 | - $this->getPathURI($path) . '?' . http_build_query(array( |
|
| 88 | + $this->getPathURI($path).'?'.http_build_query(array( |
|
| 89 | 89 | JCFirebaseOption::OPTION_SHALLOW => JCFirebaseOption::SHALLOW_TRUE |
| 90 | 90 | )), |
| 91 | 91 | $this->requestHeader, |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | |
| 153 | 153 | protected function refreshToken() |
| 154 | 154 | { |
| 155 | - $this->requestHeader['Authorization'] = 'Bearer ' . $this->auth->getAccessToken(); |
|
| 155 | + $this->requestHeader['Authorization'] = 'Bearer '.$this->auth->getAccessToken(); |
|
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | protected function addDataToPathURI($path = '', $options = array(), $reqType = JCFirebaseOption::REQ_TYPE_GET) |