Completed
Branch master (0aa78c)
by Kazi Mainuddin
02:08
created
src/GoogleUrlShortener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.