Commit e4b7c049 authored by Eleo Basili's avatar Eleo Basili
Browse files

Issue #3300369 by eleonel: Fix minor code issues.

parent 615593a8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ class Recombee extends BackendPluginBase implements PluginFormInterface {

      // Initialize API client.
      $this->client = new Client($account, $token, [
        'protocol' => 'https'
        'protocol' => 'https',
        'serviceName' => 'drupal-search-api-recombee',
        'region' => $region,
      ]);
@@ -126,7 +126,7 @@ class Recombee extends BackendPluginBase implements PluginFormInterface {

    try {
      // Call API to get list of the database properties.
      $this->send(new ListItemProperties(), $account, $token, $region;
      $this->send(new ListItemProperties(), $account, $token, $region);
    }
    catch (\Exception $e) {
      $form_state->setErrorByName('token', $e->getMessage());