@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | public function shorten($longUrl) |
| 82 | 82 | { |
| 83 | 83 | $response = $this->getShorternerResponse($longUrl); |
| 84 | - if (! $this->extended) { |
|
| 84 | + if (!$this->extended) { |
|
| 85 | 85 | self::$buffer[$longUrl] = $response->id; |
| 86 | 86 | } |
| 87 | 87 | |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | */ |
| 112 | 112 | private function getShorternerResponse($longUrl) |
| 113 | 113 | { |
| 114 | - if (!$this->extended && !empty(self::$buffer[$longUrl]) ) { |
|
| 114 | + if (!$this->extended && !empty(self::$buffer[$longUrl])) { |
|
| 115 | 115 | return self::$buffer[$longUrl]; |
| 116 | 116 | } |
| 117 | 117 | |