Completed
Pull Request — master (#157)
by
unknown
01:50
created
src/Drupal/Driver/Wrapper/Entity/DriverEntityBase.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -496,6 +496,7 @@
 block discarded – undo
496 496
    * Sets the provisional entity plugin.
497 497
    *
498 498
    * @param \Drupal\Driver\Plugin\DriverEntityPluginInterface
499
+   * @param DriverEntityPluginInterface $plugin
499 500
    */
500 501
     protected function setProvisionalPlugin($plugin)
501 502
     {
Please login to merge, or discard this patch.
src/Drupal/Driver/Wrapper/Entity/DriverEntityWrapperInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
   /**
64 64
    * Sets the entity bundle.
65 65
    *
66
-   * @param string $identifier
66
+   * @param string $identifer
67 67
    *   A string identifying the entity bundle.
68 68
    *
69 69
    * @return $this
@@ -88,6 +88,7 @@  discard block
 block discarded – undo
88 88
    *
89 89
    * @param \Drupal\Driver\Plugin\DriverEntityPluginInterface $plugin
90 90
    *   An instantiated driver entity plugin matching this entity.
91
+   * @return DriverEntityBase
91 92
    */
92 93
     public function setFinalPlugin($plugin);
93 94
 }
Please login to merge, or discard this patch.
src/Drupal/Driver/Wrapper/Field/DriverFieldBase.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -74,8 +74,6 @@
 block discarded – undo
74 74
    * @param mixed
75 75
    *   Raw values for the field. Typically an array, one for each value of a
76 76
    *   multivalue field, but can be single. Values are typically string.
77
-   * @param string $fieldName
78
-   *   The machine name of the field.
79 77
    * @param string $entityType
80 78
    *   The machine name of the entity type the field is attached to.
81 79
    * @param string $bundle
Please login to merge, or discard this patch.
tests/Drupal/Tests/Driver/DriverPluginManagersTest.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -190,10 +190,6 @@
 block discarded – undo
190 190
    *
191 191
    * @param array $target
192 192
    *   The properties to find a matching plugin for.
193
-   * @param array $mockFilters
194
-   *   The possible filters for the mocked plugin manager.
195
-   * @param array $mockCriteria
196
-   *   The specificity criteria for the mocked plugin manager.
197 193
    * @param array $mockDefinitions
198 194
    *   The plugins to be discovered by the mocked plugin manager.
199 195
    * @param array $expectedIds
Please login to merge, or discard this patch.
tests/Drupal/Tests/Driver/Kernel/Drupal8/Entity/DriverEntityTest.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -123,6 +123,8 @@
 block discarded – undo
123 123
 
124 124
   /**
125 125
    * Assert that an entity is created & wrapped with a specified name.
126
+   * @param string $fieldName
127
+   * @param DriverEntityDrupal8 $entity
126 128
    */
127 129
     protected function assertEntityWithName($value, $fieldName, $entity)
128 130
     {
Please login to merge, or discard this patch.
src/Drupal/Driver/Cores/CoreInterface.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -18,13 +18,13 @@  discard block
 block discarded – undo
18 18
    *   URI that is accessing Drupal. Defaults to 'default'.
19 19
    * @param \Drupal\Component\Utility\Random $random
20 20
    *   Random string generator.
21
-   * @param string $projectPluginRoot
22
-   *   The directory to search for additional project-specific driver plugins.
21
+   * @return void
23 22
    */
24 23
   public function __construct($drupal_root, $uri = 'default', Random $random = NULL);
25 24
 
26 25
   /**
27 26
    * Return random generator.
27
+   * @return Random
28 28
    */
29 29
   public function getRandom();
30 30
 
@@ -195,6 +195,7 @@  discard block
 block discarded – undo
195 195
 
196 196
   /**
197 197
    * Clears the static caches.
198
+   * @return void
198 199
    */
199 200
   public function clearStaticCaches();
200 201
 
@@ -228,7 +229,7 @@  discard block
 block discarded – undo
228 229
    *
229 230
    * @param string $entity_type
230 231
    *   Entity type machine name.
231
-   * @param object $entity
232
+   * @param \stdClass $entity
232 233
    *   The field values and properties desired for the new entity.
233 234
    *
234 235
    * @return \Drupal\Core\Entity\EntityInterface
@@ -238,6 +239,8 @@  discard block
 block discarded – undo
238 239
 
239 240
   /**
240 241
    * Delete an entity.
242
+   * @param string $entity_type
243
+   * @param \stdClass $entity
241 244
    */
242 245
   public function entityDelete($entity_type, $entity);
243 246
 
Please login to merge, or discard this patch.
src/Drupal/Driver/Cores/Drupal8.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -266,6 +266,7 @@  discard block
 block discarded – undo
266 266
 
267 267
   /**
268 268
    * {@inheritdoc}
269
+   * @param string $entity_type
269 270
    */
270 271
   protected function expandEntityFields($entity_type, \stdClass $entity, array $base_fields = array()) {
271 272
     $field_types = $this->getEntityFieldTypes($entity_type, $base_fields);
@@ -346,6 +347,7 @@  discard block
 block discarded – undo
346 347
 
347 348
   /**
348 349
    * {@inheritdoc}
350
+   * @param string $entity_type
349 351
    */
350 352
   public function isBaseField($entity_type, $field_name) {
351 353
     $fields = \Drupal::entityManager()->getFieldStorageDefinitions($entity_type);
Please login to merge, or discard this patch.
src/Drupal/Driver/Plugin/DriverNameMatcher.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
   /**
176 176
    * Matches an identifer against a machine name exactly.
177 177
    *
178
-   * @param string $identifer
178
+   * @param string $identifier
179 179
    *   The human-friendly name of the target.
180 180
    * @param string $machineName
181 181
    *   The machine name of the candidate.
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
   /**
194 194
    * Matches an identifer against a label exactly.
195 195
    *
196
-   * @param string $identifer
196
+   * @param string $identifier
197 197
    *   The human-friendly name of the target.
198 198
    * @param string $machineName
199 199
    *   The machine name of the candidate.
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
   /**
212 212
    * Matches an identifer against a machine name removing the prefix.
213 213
    *
214
-   * @param string $identifer
214
+   * @param string $identifier
215 215
    *   The human-friendly name of the target.
216 216
    * @param string $machineName
217 217
    *   The machine name of the candidate.
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
   /**
233 233
    * Matches an identifer against a machine name removing underscores from it.
234 234
    *
235
-   * @param string $identifer
235
+   * @param string $identifier
236 236
    *   The human-friendly name of the target.
237 237
    * @param string $machineName
238 238
    *   The machine name of the candidate.
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
   /**
252 252
    * Matches an identifer against a machine name, removing prefix & underscores.
253 253
    *
254
-   * @param string $identifer
254
+   * @param string $identifier
255 255
    *   The human-friendly name of the target.
256 256
    * @param string $machineName
257 257
    *   The machine name of the candidate.
Please login to merge, or discard this patch.
src/Drupal/Driver/Wrapper/Field/DriverFieldDrupal8.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -49,6 +49,9 @@
 block discarded – undo
49 49
    */
50 50
     protected $version = 8;
51 51
 
52
+    /**
53
+     * @param string $projectPluginRoot
54
+     */
52 55
     public function __construct(
53 56
         $rawValues,
54 57
         $fieldName,
Please login to merge, or discard this patch.