[Console] remove « use » statement for PHP built-in exception classes.

This commit is contained in:
Hugo Hamon 2014-12-21 11:16:34 +01:00
parent c9acca7381
commit cdc5c5bb11
1 changed files with 2 additions and 4 deletions

View File

@ -12,7 +12,6 @@
namespace Symfony\Component\Console\Helper;
use Symfony\Component\Console\Output\OutputInterface;
use InvalidArgumentException;
/**
* Provides helpers to display table output.
@ -79,7 +78,7 @@ class TableHelper extends Helper
*
* @return TableHelper
*
* @throws InvalidArgumentException when the table layout is not known
* @throws \InvalidArgumentException when the table layout is not known
*/
public function setLayout($layout)
{
@ -111,8 +110,7 @@ class TableHelper extends Helper
break;
default:
throw new InvalidArgumentException(sprintf('Invalid table layout "%s".', $layout));
break;
throw new \InvalidArgumentException(sprintf('Invalid table layout "%s".', $layout));
};
return $this;