Loading src/Service/ViewsBulkOperationsViewData.php +2 −2 Original line number Original line Diff line number Diff line Loading @@ -136,7 +136,7 @@ class ViewsBulkOperationsViewData implements ViewsBulkOperationsViewDataInterfac if (isset($views_data['table']['provider'])) { if (isset($views_data['table']['provider'])) { return $views_data['table']['provider']; return $views_data['table']['provider']; } } return FALSE; return ''; } } /** /** Loading Loading @@ -186,7 +186,7 @@ class ViewsBulkOperationsViewData implements ViewsBulkOperationsViewDataInterfac * @return int * @return int * The total number of results this view displays. * The total number of results this view displays. */ */ public function getTotalResults($clear_on_exposed = FALSE): int { public function getTotalResults($clear_on_exposed = FALSE): ?int { $total_results = NULL; $total_results = NULL; if (!$clear_on_exposed && !empty($this->view->getExposedInput())) { if (!$clear_on_exposed && !empty($this->view->getExposedInput())) { Loading src/Service/ViewsBulkOperationsViewDataInterface.php +2 −2 Original line number Original line Diff line number Diff line Loading @@ -67,9 +67,9 @@ interface ViewsBulkOperationsViewDataInterface { * Are we clearing selection on exposed filters change? * Are we clearing selection on exposed filters change? * * * @return int * @return int * The total number of results this view displays. * The total number of results this view displays or null if undetermined. */ */ public function getTotalResults($clear_on_exposed): int; public function getTotalResults($clear_on_exposed): ?int; /** /** * The default entity getter function. * The default entity getter function. Loading Loading
src/Service/ViewsBulkOperationsViewData.php +2 −2 Original line number Original line Diff line number Diff line Loading @@ -136,7 +136,7 @@ class ViewsBulkOperationsViewData implements ViewsBulkOperationsViewDataInterfac if (isset($views_data['table']['provider'])) { if (isset($views_data['table']['provider'])) { return $views_data['table']['provider']; return $views_data['table']['provider']; } } return FALSE; return ''; } } /** /** Loading Loading @@ -186,7 +186,7 @@ class ViewsBulkOperationsViewData implements ViewsBulkOperationsViewDataInterfac * @return int * @return int * The total number of results this view displays. * The total number of results this view displays. */ */ public function getTotalResults($clear_on_exposed = FALSE): int { public function getTotalResults($clear_on_exposed = FALSE): ?int { $total_results = NULL; $total_results = NULL; if (!$clear_on_exposed && !empty($this->view->getExposedInput())) { if (!$clear_on_exposed && !empty($this->view->getExposedInput())) { Loading
src/Service/ViewsBulkOperationsViewDataInterface.php +2 −2 Original line number Original line Diff line number Diff line Loading @@ -67,9 +67,9 @@ interface ViewsBulkOperationsViewDataInterface { * Are we clearing selection on exposed filters change? * Are we clearing selection on exposed filters change? * * * @return int * @return int * The total number of results this view displays. * The total number of results this view displays or null if undetermined. */ */ public function getTotalResults($clear_on_exposed): int; public function getTotalResults($clear_on_exposed): ?int; /** /** * The default entity getter function. * The default entity getter function. Loading