Explorar o código

Merge pull request #791 from liuggio/patch-1

just added a \ before RuntimeException
Jordi Boggiano %!s(int64=13) %!d(string=hai) anos
pai
achega
67cf46546d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Autoload/ClassMapGenerator.php

+ 1 - 1
src/Composer/Autoload/ClassMapGenerator.php

@@ -91,7 +91,7 @@ class ClassMapGenerator
         try {
             $tokens   = token_get_all($contents);
         } catch (\Exception $e) {
-            throw new RuntimeException('Could not scan for classes inside '.$path.": \n".$e->getMessage(), 0, $e);
+            throw new \RuntimeException('Could not scan for classes inside '.$path.": \n".$e->getMessage(), 0, $e);
         }
         $T_TRAIT  = version_compare(PHP_VERSION, '5.4', '<') ? -1 : T_TRAIT;