diff --git a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
index c1d77242f0810a02ebb1f86e63ede43d307ddc01..d55b317f54bf3a5f72bea27803235af7308f3c3f 100644
--- a/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
+++ b/core/modules/views/lib/Drupal/views/Plugin/views/argument/ArgumentPluginBase.php
@@ -469,7 +469,7 @@ function default_actions($which = NULL) {
       ),
       'empty' => array(
         'title' => t('Display contents of "No results found"'),
-        'method' => 'default_empty',
+        'method' => 'defaultEmpty',
         'breadcrumb' => TRUE, // generate a breadcrumb to here
       ),
       'access denied' => array(
@@ -714,7 +714,7 @@ public function defaultAccessDenied() {
    * If an argument was expected and was not given, in this case, display
    * the view's empty text
    */
-  function default_empty() {
+  public function defaultEmpty() {
     // We return with no query; this will force the empty text.
     $this->view->built = TRUE;
     $this->view->executed = TRUE;