[PHP 7.2] My fix for «Declaration of Magento\Customer\Model\ResourceModel\Address\Attribute\Source\Region::getAllOptions() must be compatible with Magento\Eav\Model\Entity\Attribute\Source\Table::getAllOptions($withEmpty = true, $defaultValues = false)»

It is similar to:

My fix

Replace the line:

with the following one:

public function getAllOptions($withEmpty = true, $defaultValues = false)