public function __construct($key, $receivedType) { parent::__construct($key, ' expected array, got: ' . $receivedType); }
public function __construct($key) { parent::__construct($key, ' is missing'); }