Oh yeah, baby, that's how you do it! I love doing these kinds of code reviews.
public function getDocumentation(string $langCode): ?Node {
switch ($langCode) {
case 'cs':
return Node::load(48);
case 'en':
return Node::load(224);
}
return NULL;
}