[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

View File

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