| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | 12 | public function configureSchema(ConfigurationBuilderInterface $builder): void |
|
| 25 | { |
||
| 26 | 12 | $builder->addSchema('default_attributes', Expect::arrayOf( |
|
| 27 | 12 | Expect::arrayOf( |
|
| 28 | 12 | Expect::type('string|string[]|bool|callable'), // attribute value(s) |
|
| 29 | 12 | 'string' // attribute name |
|
| 30 | ), |
||
| 31 | 12 | 'string' // node FQCN |
|
| 32 | 12 | )->default([])); |
|
| 33 | 12 | } |
|
| 40 |