Welcome @Elias1, to the community!
Like all drivers in its class, the ULN2804A is a so-called Darlington array. This means that it does not contain logic gates, but two npn transistors connected in series, whose total gain therefore corresponds approximately to the product of the individual gain. Such a Darlington stage can be simplified as a very high gain npn transistor (BJT) and is therefore always an inverting stage.
"Inverting" refers to the output voltage and therefore to an inappropriate view of the Darlington stages as logic gates. Instead, the stages should be considered as non-inverting current amplifiers: a small base current can result in a considerably larger collector current.
Does it answer your question?
Regards
/Peter
In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.