Skip to content
Snippets Groups Projects
Commit 1d233577 authored by Artem's avatar Artem
Browse files

Code style issues with class descrition and ordering in Uses namespaces.

parent 84f25152
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ namespace Drupal\user_agent_class; ...@@ -5,7 +5,7 @@ namespace Drupal\user_agent_class;
use Drupal\Core\Entity\EntityTypeManagerInterface; use Drupal\Core\Entity\EntityTypeManagerInterface;
/** /**
* Class CheckAgentServices. * Service for checking user agents.
*/ */
class CheckAgentServices implements CheckAgentServicesInterface { class CheckAgentServices implements CheckAgentServicesInterface {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
namespace Drupal\user_agent_class; namespace Drupal\user_agent_class;
/** /**
* Interface CheckAgentServicesInterface. * Interface for checking user agents.
*/ */
interface CheckAgentServicesInterface { interface CheckAgentServicesInterface {
......
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
namespace Drupal\user_agent_class\Controller; namespace Drupal\user_agent_class\Controller;
use Drupal\Component\Utility\Xss;
use Drupal\Core\Controller\ControllerBase; use Drupal\Core\Controller\ControllerBase;
use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Request;
use Drupal\Component\Utility\Xss;
/** /**
* Class CheckUserAgentController. * Controller for checking and displaying the current user agent string.
*/ */
class CheckUserAgentController extends ControllerBase { class CheckUserAgentController extends ControllerBase {
......
...@@ -2,15 +2,15 @@ ...@@ -2,15 +2,15 @@
namespace Drupal\user_agent_class\EventSubscriber; namespace Drupal\user_agent_class\EventSubscriber;
use Symfony\Component\HttpKernel\KernelEvents;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Drupal\Component\Utility\Xss; use Drupal\Component\Utility\Xss;
use Drupal\user_agent_class\CheckAgentServices;
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\user_agent_class\CheckAgentServices;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpKernel\Event\RequestEvent;
use Symfony\Component\HttpKernel\KernelEvents;
/** /**
* Class UserAgentSubscriber. * Subscriber to tracks user agent class based on request headers.
*/ */
class UserAgentSubscriber implements EventSubscriberInterface { class UserAgentSubscriber implements EventSubscriberInterface {
......
...@@ -6,7 +6,7 @@ use Drupal\Core\Entity\EntityForm; ...@@ -6,7 +6,7 @@ use Drupal\Core\Entity\EntityForm;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
/** /**
* Class DeviceEntityForm. * Defines the DeviceEntityForm class for configuring device entities.
*/ */
class DeviceEntityForm extends EntityForm { class DeviceEntityForm extends EntityForm {
......
...@@ -6,7 +6,7 @@ use Drupal\Core\Form\ConfigFormBase; ...@@ -6,7 +6,7 @@ use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
/** /**
* Class ProvideForm. * Implements a form for configuring user agent retrieval responsibility.
*/ */
class ProvideForm extends ConfigFormBase { class ProvideForm extends ConfigFormBase {
......
...@@ -6,7 +6,7 @@ use Drupal\Core\Entity\EntityForm; ...@@ -6,7 +6,7 @@ use Drupal\Core\Entity\EntityForm;
use Drupal\Core\Form\FormStateInterface; use Drupal\Core\Form\FormStateInterface;
/** /**
* Class UserAgentEntityForm. * Defines the UserAgentEntityForm class for configuring user agent entities.
*/ */
class UserAgentEntityForm extends EntityForm { class UserAgentEntityForm extends EntityForm {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment