on line 57 it says $this->_vendor = trim(file_get_contents($filename));.
I believe this should be changed to return trim(file_get_contents($filename));.
I've also changed the method "getSerialNumber" so that "SCSI_IDENT_SERIAL" takes higher priority in case there is one, as this is the correct case in a ARECA RAID card environment AFAIK.
See full code:
But my real question is, where do I share this?
Found out that the device's serial in udevadm info could also be parameter "ID_SCSI_SERIAL" as well.
I'm not sure all the possibilities but seems like looks pretty unpromising...