Skip to content
Snippets Groups Projects
Commit 4e84c208 authored by Scott Euser's avatar Scott Euser
Browse files

PHP static analysis

parent c7f32abe
Branches
No related tags found
No related merge requests found
Pipeline #334737 failed
Pipeline: drupal-3486574

#334738

    ......@@ -69,7 +69,7 @@ public function imageButtonCallback($form, FormStateInterface $form_state) {
    /**
    * Ajax callback to confirm update a table row from outside the table.
    */
    public function outsideTableCallback($form, FormStateInterface $form_state) {
    public function outsideTableCallback($form, FormStateInterface $form_state): AjaxResponse {
    $response = new AjaxResponse();
    $response->addCommand(new HtmlCommand('#ajax_table_row_result', 'Outside table result'));
    return $response;
    ......@@ -78,7 +78,7 @@ public function outsideTableCallback($form, FormStateInterface $form_state) {
    /**
    * Ajax callback to confirm update a table row from inside the table.
    */
    public function insideTableCallback($form, FormStateInterface $form_state) {
    public function insideTableCallback($form, FormStateInterface $form_state): AjaxResponse {
    $response = new AjaxResponse();
    $response->addCommand(new HtmlCommand('#ajax_table_row_result', 'Inside table result'));
    return $response;
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment