Conditions | 3 |
Paths | 3 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
7 | public function __construct(array $args, array $availableRuleSets = array(), $defaults = null) |
||
8 | { |
||
9 | $this->parseDefaults($args, $defaults); |
||
10 | |||
11 | try { |
||
12 | parent::__construct($args, $availableRuleSets); |
||
13 | } catch (\InvalidArgumentException $err) { |
||
14 | if ($err->getCode() !== self::INPUT_ERROR) { |
||
15 | throw $err; |
||
16 | } |
||
17 | } |
||
18 | |||
19 | $this->assertValidState(); |
||
20 | } |
||
21 | |||
49 |