| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 5 | 
| Code Lines | 3 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 3 | 
| CRAP Score | 3.1406 | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 29 | 1 | private function validatePresenters(): void  | 
            |
| 30 |     { | 
            ||
| 31 | 1 |         foreach ($this->presenters as $presenter) { | 
            |
| 32 | 1 |             if (!$presenter instanceof AttributePresenterInterface) { | 
            |
| 33 |                 throw new \InvalidArgumentException(sprintf('Presenter must implement AttributePresenterInterface, got %s.', get_debug_type($presenter))); | 
            ||
| 34 | }  | 
            ||
| 38 |