How can in override the Block file.I need to override the below file.
vendor/magento/module-theme/Block/Html/Pager.php
protected $_availableLimit = [10 => 10, 20 => 20, 50 => 50];
protected $_availableLimit = [5 => 5, 10 => 10, 20 => 20, 50 => 50];
Also, I need to show 2 reviews per 1 page then what is the limit which will I have to set for above?
Please help me !!!