Commit 9d68dc2e authored by renatog's avatar renatog Committed by renatog
Browse files

Issue #3267965 by RenatoG: Fix all coding standards for Invite

parent 7fba6423
Loading
Loading
Loading
Loading
+1 −1
Changes for modules/invite_by_email/src/Form/InviteByEmailBlockForm.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\invite\Entity\Invite;

/**
 * Class InviteByEmailBlockForm.
 * Class for Email Block Form.
 *
 * @package Drupal\invite\Form
 */
+10 −4
Changes for modules/invite_by_email/src/Plugin/Invite/InviteByEmail.php: 10 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -33,6 +33,7 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain
   * Getter for the messenger service.
   *
   * @return \Drupal\Core\Messenger\MessengerInterface
   *   will return the messenger.
   */
  public function getMessenger() {
    return $this->messenger;
@@ -41,6 +42,12 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain
  /**
   * Constructs invite_by_email plugin.
   *
   * @param array $configuration
   *   Array with configurations.
   * @param string $plugin_id
   *   The plugin id.
   * @param string $plugin_definition
   *   Plugin Definition.
   * @param \Drupal\Core\Messenger\MessengerInterface $messenger
   *   The messenger service.
   */
@@ -65,9 +72,9 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain
   * {@inheritdoc}
   */
  public function send($invite) {
    /*
     * @var $token \Drupal\token\Token
     * @var $mail \Drupal\Core\Mail\MailManager
    /**
      * @var \Drupal\token\Token $token
      * @var \Drupal\Core\Mail\MailManager $mail
      */
    $bubbleable_metadata = new BubbleableMetadata();
    $token = \Drupal::service('token');
@@ -118,4 +125,3 @@ class InviteByEmail extends PluginBase implements InvitePluginInterface, Contain
  }

}
+1 −1
Changes for modules/invite_link/src/Form/InviteLinkBlockForm.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ use Drupal\Core\Form\FormStateInterface;
use Drupal\invite\Entity\Invite;

/**
 * Class InviteLinkBlockForm.
 * Class for Link Block Form.
 *
 * @package Drupal\invite\Form
 */
+1 −1
Changes for src/Controller/InviteAccept.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ use Drupal\invite\InviteAcceptEvent;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * Class InviteAccept.
 * Class to Invite Accept.
 *
 * @package Drupal\invite\Controller
 */
+5
Changes for src/Controller/InviteAccessController.php: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -13,6 +13,11 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
 */
class InviteAccessController extends ControllerBase {

  /**
   * The route match.
   *
   * @var \Drupal\Core\Routing\CurrentRouteMatch
   */
  protected $routeMatch;

  /**
Loading