"Installed in cat6" sounds weird to me, but I gather you are saying they spliced the CT leads to cat6 to extend them and pulled the cat6 in conduit or EMT with inverter output. That is not compliant because it's mixing a Class 2 wiring method (cat6) with power wiring. However if they had used THHN/THWH, or a class 1 method such as 18awg TFFN, then it would be compliant. See recent discussion here:
Hi, I understand that class 1 and class 2 wiring cannot be installed in the same raceway without a barrier but I'm wondering if I were to use #12 AWG THHN for both the high voltage (120V) and the 0-10 dimming controls if that would be code sufficient? I don't see why not but that's why I'm here
forums.mikeholt.com
(Note changes in code references from 2020 to 2023, but what I said above is true for either code cycle.)
There's a deeper part to your question that's a lot less clear, which is how CT circuits are classified. I've asked and researched this question and never gotten a clear answer. It seems pretty obvious that they are 725 circuits (or 724 under the 2023 NEC) but the code doesn't call out and categorize CT leads specifically and I've never seen them marked. Some CT leads I've seen are marked as insulation types allowed for Class 1 and some aren't. At least one manufacturer recommends extending them with a Class 2/3 wiring method but not in the same conduit. So I've taken to treating them as Class 2, but only using Class 1 methods (or standard power/light methods) where run in the same conduit as other power. And I don't run them in the same conduit as loads unrelated to the solar and/or battery system that the CTs are for.
Honestly if the cat6 outer jacket has a voltage rating (e.g. 300V) that exceeds the other circuits voltage then I don't think what they did is unsafe, but it's pretty clearly not compliant.