Completed
Branch feature/linting (fde6b7)
by Christopher
50:12
created
src/Access/ContextAccessCheck.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
    * This method will also filter out "invalid" context objects before the
49 49
    * actual controller method that executes the request is called.
50 50
    *
51
-   * @param Symfony\Component\Routing\Route $route
51
+   * @param Route $route
52 52
    *   The route the user is attempting to access.
53
-   * @param Drupal\Core\Routing\RouteMatchInterface $route_match
53
+   * @param RouteMatchInterface $route_match
54 54
    *   The route match for the route the user is attempting to access.
55
-   * @param Drupal\Core\Session\AccountInterface $account
55
+   * @param AccountInterface $account
56 56
    *   The account to check access against.
57 57
    *
58 58
    * @return \Drupal\Core\Access\AccessResultInterface
Please login to merge, or discard this patch.
src/Access/ParagraphAccessCheck.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -40,11 +40,11 @@
 block discarded – undo
40 40
    * located within the editor context and the user has access to the editor
41 41
    * context.
42 42
    *
43
-   * @param Symfony\Component\Routing\Route $route
43
+   * @param Route $route
44 44
    *   The route the user is attempting to access.
45
-   * @param Drupal\Core\Routing\RouteMatchInterface $route_match
45
+   * @param RouteMatchInterface $route_match
46 46
    *   The route match for the route the user is attempting to access.
47
-   * @param Drupal\Core\Session\AccountInterface $account
47
+   * @param AccountInterface $account
48 48
    *   The account to check access against.
49 49
    *
50 50
    * @return \Drupal\Core\Access\AccessResultInterface
Please login to merge, or discard this patch.
src/EditBuffer/EditBufferCache.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
   /**
43 43
    * Creates an edit buffer cache object.
44 44
    *
45
-   * @param Drupal\Core\KeyValueStore\KeyValueExpirableFactoryInterface $keyvalue_factory
45
+   * @param KeyValueExpirableFactoryInterface $keyvalue_factory
46 46
    *   The key value factory service for creating a persistent cache.
47 47
    * @param int $expiry
48 48
    *   The amount of time to allow buffers to live without being automatically
Please login to merge, or discard this patch.
src/EditorCommand/CommandContextFactory.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -74,6 +74,7 @@
 block discarded – undo
74 74
 
75 75
   /**
76 76
    * {@inheritdoc}
77
+   * @param string $context_string
77 78
    */
78 79
   public function parseContextString($context_string) {
79 80
     $context_params = explode(':', $context_string);
Please login to merge, or discard this patch.
src/EditorCommand/ResponseHandler.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
   /**
121 121
    * Generates an ajax response for opening a form.
122 122
    *
123
-   * @param \Drupal\paragraphs_editor\CommandContextInterface $context
123
+   * @param CommandContextInterface $context
124 124
    *   The context the command is executing within.
125 125
    * @param mixed $contents
126 126
    *   A render array or markup string containing the contents to be delivered.
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
   /**
138 138
    * Generates an ajax response for delivering a paragraph.
139 139
    *
140
-   * @param \Drupal\paragraphs_editor\CommandContextInterface $context
140
+   * @param CommandContextInterface $context
141 141
    *   The context the command is executing within.
142 142
    * @param \Drupal\paragraphs_editor\EditBuffer\EditBufferItemInterface $item
143 143
    *   The buffer item to be rendered in the response.
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
   /**
155 155
    * Generates an ajax response for delivering a duplicated paragraph.
156 156
    *
157
-   * @param \Drupal\paragraphs_editor\CommandContextInterface $context
157
+   * @param CommandContextInterface $context
158 158
    *   The context the command is executing within.
159 159
    * @param \Drupal\paragraphs_editor\EditBuffer\EditBufferItemInterface $item
160 160
    *   The buffer item to be duplicated in the response.
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
   /**
176 176
    * Generates an ajax response for closing a form.
177 177
    *
178
-   * @param \Drupal\paragraphs_editor\CommandContextInterface $context
178
+   * @param CommandContextInterface $context
179 179
    *   The context the command is executing within.
180 180
    *
181 181
    * @return \Drupal\Core\Ajax\AjaxResponse
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
   /**
191 191
    * Gets a bundle select form object to deliver the user.
192 192
    *
193
-   * @param \Drupal\paragraphs_editor\CommandContextInterface $context
193
+   * @param CommandContextInterface $context
194 194
    *   The context the command is executing within.
195 195
    *
196 196
    * @return array
Please login to merge, or discard this patch.
src/EditorFieldValue/FieldValueManager.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -131,6 +131,8 @@  discard block
 block discarded – undo
131 131
 
132 132
   /**
133 133
    * {@inheritdoc}
134
+   * @param boolean $new_revision
135
+   * @param string|null $langcode
134 136
    */
135 137
   public function prepareEntityForSave($entity, $new_revision, $langcode) {
136 138
     $entity->setNewRevision($new_revision);
@@ -261,6 +263,8 @@  discard block
 block discarded – undo
261 263
 
262 264
   /**
263 265
    * {@inheritdoc}
266
+   * @param string $element_name
267
+   * @param string $attribute_name
264 268
    */
265 269
   public function getAttributeName($element_name, $attribute_name) {
266 270
     $element = $this->getElement($element_name);
@@ -276,6 +280,7 @@  discard block
 block discarded – undo
276 280
 
277 281
   /**
278 282
    * {@inheritdoc}
283
+   * @param string $element_name
279 284
    */
280 285
   public function getSelector($element_name) {
281 286
     $element = $this->getElement($element_name);
Please login to merge, or discard this patch.
src/ParamConverter/CommandContextConverter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
   /**
34 34
    * Creates a paragraphs ckeditor command context route parameter converter.
35 35
    *
36
-   * @param Symfony\Component\HttpFoundation\RequestStack $request_stack
36
+   * @param RequestStack $request_stack
37 37
    *   The symfony request stack service that is managing page requests.
38 38
    * @param \Drupal\paragraphs_editor\EditorCommand\CommandContextFactoryInterface $context_factory
39 39
    *   The context factory to use for creating command contexts.
Please login to merge, or discard this patch.
src/Plugin/Field/FieldFormatter/ParagraphsEditorFormatter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -40,6 +40,7 @@
 block discarded – undo
40 40
 
41 41
   /**
42 42
    * {@inheritdoc}
43
+   * @param string $plugin_id
43 44
    */
44 45
   public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, $label, $view_mode, array $third_party_settings, FieldValueManagerInterface $field_value_manager, EntityDisplayRepositoryInterface $entity_display_repository, $dom_processor) {
45 46
     parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $label, $view_mode, $third_party_settings);
Please login to merge, or discard this patch.
src/Plugin/Field/FieldWidget/ParagraphsEditorWidget.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -65,6 +65,7 @@
 block discarded – undo
65 65
 
66 66
   /**
67 67
    * {@inheritdoc}
68
+   * @param string $plugin_id
68 69
    */
69 70
   public function __construct($plugin_id, $plugin_definition, FieldDefinitionInterface $field_definition, array $settings, array $third_party_settings, FieldValueManagerInterface $field_value_manager, DomProcessorInterface $dom_processor, EntityDisplayRepositoryInterface $entity_display_repository, array $plugin_managers) {
70 71
     parent::__construct($plugin_id, $plugin_definition, $field_definition, $settings, $third_party_settings);
Please login to merge, or discard this patch.