Browse Source

Fix phpstan follow error.

mscherer 7 years ago
parent
commit
0145b7b728
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/Http/Client/Auth/Oauth.php

+ 2 - 0
src/Http/Client/Auth/Oauth.php

@@ -48,6 +48,8 @@ class Oauth
             $credentials['method'] = 'hmac-sha1';
         }
         $credentials['method'] = strtoupper($credentials['method']);
+
+        $value = null;
         switch ($credentials['method']) {
             case 'HMAC-SHA1':
                 $hasKeys = isset(