Browse Source

Fix class name of caught exception

Jordi Boggiano 5 years ago
parent
commit
4f59162827
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Repository/Vcs/GitHubDriver.php

+ 1 - 1
src/Composer/Repository/Vcs/GitHubDriver.php

@@ -203,7 +203,7 @@ class GitHubDriver extends VcsDriver
                 ),
                 'retry-auth-failure' => false,
             ));
-        } catch (\TransportException $e) {
+        } catch (TransportException $e) {
             return $this->fundingInfo = false;
         }
         $result = json_decode($result, true);