Zend certified PHP/Magento developer

Allow backorder per website

We created a module to allow backorder per store view rather than default.

This module works in Magento 2.3.3 but I tried to implement this to a Magneto 2.3.6 installation also. However, I get this error while di:compile.

enter image description here

and here is the code that the error is referring too:
enter image description here