File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -696,7 +696,7 @@ public function discoverTransceivers(): Collection
696696 $ ifIndex = $ ent ['ifIndex ' ] ?? null ;
697697
698698 return new Transceiver ([
699- 'port_id ' => (int ) PortCache::getIdFromIfIndex ($ ifIndex , $ this ->getDevice ()),
699+ 'port_id ' => (int ) PortCache::getIdFromIfIndex (( int ) $ ifIndex , $ this ->getDevice ()),
700700 'index ' => $ index ,
701701 'type ' => $ ent ['entPhysicalDescr ' ] ?? null ,
702702 'vendor ' => $ ent ['entPhysicalMfgName ' ] ?? null ,
@@ -784,7 +784,7 @@ public function discoverQos(): Collection
784784
785785 $ qos ->push (new Qos ([
786786 'device_id ' => $ this ->getDeviceId (),
787- 'port_id ' => $ parent ? null : PortCache::getIdFromIfIndex ($ servicePolicies [$ policyId ]['cbQosIfIndex ' ], $ this ->getDevice ()),
787+ 'port_id ' => $ parent ? null : PortCache::getIdFromIfIndex (( int ) $ servicePolicies [$ policyId ]['cbQosIfIndex ' ], $ this ->getDevice ()),
788788 'type ' => $ dbtype ,
789789 'title ' => $ title ,
790790 'tooltip ' => $ tooltip ,
You can’t perform that action at this time.
0 commit comments