ArgumentCountError thrown

Too few arguments to function custom_menu_classes(), 2 passed in /home/extreme/public_html/wp-includes/class-wp-hook.php on line 287 and exactly 3 expected