File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
src/Symfony/Component/Console/Helper Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 12
12
namespace Symfony \Component \Console \Helper ;
13
13
14
14
use Symfony \Component \Console \Output \OutputInterface ;
15
- use InvalidArgumentException ;
16
15
17
16
/**
18
17
* Provides helpers to display table output.
@@ -79,7 +78,7 @@ public function __construct()
79
78
*
80
79
* @return TableHelper
81
80
*
82
- * @throws InvalidArgumentException when the table layout is not known
81
+ * @throws \ InvalidArgumentException when the table layout is not known
83
82
*/
84
83
public function setLayout ($ layout )
85
84
{
@@ -111,8 +110,7 @@ public function setLayout($layout)
111
110
break ;
112
111
113
112
default :
114
- throw new InvalidArgumentException (sprintf ('Invalid table layout "%s". ' , $ layout ));
115
- break ;
113
+ throw new \InvalidArgumentException (sprintf ('Invalid table layout "%s". ' , $ layout ));
116
114
};
117
115
118
116
return $ this ;
You can’t perform that action at this time.
0 commit comments