Security update for Core, with self-updated composer
[yaffs-website] / vendor / symfony / translation / Extractor / AbstractFileExtractor.php
index 57fd4938d22cf27ab711a07fb7c8e8c71dcf9d79..4b6b155df60a63a95f433476dc68d6f4d044bab1 100644 (file)
@@ -11,6 +11,8 @@
 
 namespace Symfony\Component\Translation\Extractor;
 
+use Symfony\Component\Translation\Exception\InvalidArgumentException;
+
 /**
  * Base class used by classes that extract translation messages from files.
  *
@@ -56,12 +58,12 @@ abstract class AbstractFileExtractor
      *
      * @return bool
      *
-     * @throws \InvalidArgumentException
+     * @throws InvalidArgumentException
      */
     protected function isFile($file)
     {
         if (!is_file($file)) {
-            throw new \InvalidArgumentException(sprintf('The "%s" file does not exist.', $file));
+            throw new InvalidArgumentException(sprintf('The "%s" file does not exist.', $file));
         }
 
         return true;