public function __construct($groupIndex, $hostId, $foundType) { $msg = "machine '{$hostId}' in environment group #{$groupIndex} must define an array of roles; {$foundType} found instead of an array"; parent::__construct(400, $msg, $msg); }