A code from the \Magento\Catalog\Model\ResourceModel\Category::_getMaxPosition() method can be simplified from 5 lines to 1

The code can be simplified to

return $connection->fetchOne($select, $bind) ?: 0;