Completed
Push — 8.x-1.x ( b6d9c7...bb6fd9 )
by Janez
03:32
created
src/Plugin/EntityBrowser/Display/Modal.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -279,7 +279,7 @@
 block discarded – undo
279 279
   /**
280 280
    * Helper function to return commands to return in AjaxResponse.
281 281
    *
282
-   * @return array
282
+   * @return SelectEntitiesCommand[]
283 283
    *   An array of ajax commands.
284 284
    */
285 285
   public function getAjaxCommands(FormStateInterface $form_state) {
Please login to merge, or discard this patch.
src/EntityBrowserInterface.php 1 patch
Doc Comments   -4 removed lines patch added patch discarded remove patch
@@ -59,8 +59,6 @@  discard block
 block discarded – undo
59 59
   /**
60 60
    * Sets the id of the widget selector plugin
61 61
    *
62
-   * @param string $display
63
-   *   The id of the widget selector plugin.
64 62
    *
65 63
    * @return \Drupal\entity_browser\EntityBrowserInterface
66 64
    *   The class instance this method is called on.
@@ -70,8 +68,6 @@  discard block
 block discarded – undo
70 68
   /**
71 69
    * Sets the id of the selection display plugin
72 70
    *
73
-   * @param string $display
74
-   *   The id of the selection display plugin.
75 71
    *
76 72
    * @return \Drupal\entity_browser\EntityBrowserInterface
77 73
    *   The class instance this method is called on.
Please login to merge, or discard this patch.
src/Wizard/EntityBrowserWizard.php 1 patch
Doc Comments   +1 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,9 +34,7 @@
 block discarded – undo
34 34
    *   The entity manager.
35 35
    * @param $tempstore_id
36 36
    *   The shared temp store factory collection name.
37
-   * @param null $machine_name
38
-   *   The SharedTempStore key for our current wizard values.
39
-   * @param null $step
37
+   * @param string|null $step
40 38
    *   The current active step of the wizard.
41 39
    */
42 40
   public function __construct(SharedTempStoreFactory $tempstore, FormBuilderInterface $builder, ClassResolverInterface $class_resolver, EventDispatcherInterface $event_dispatcher, EntityManagerInterface $entity_manager, RouteMatchInterface $route_match, $tempstore_id, $entity_browser = NULL, $step = 'general') {
Please login to merge, or discard this patch.
src/WidgetBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -276,7 +276,7 @@
 block discarded – undo
276 276
   /**
277 277
    * Run widget validators.
278 278
    *
279
-   * @param array $entities
279
+   * @param \Drupal\Core\Entity\EntityInterface[] $entities
280 280
    *   Array of entity ids to validate.
281 281
    * @param array $validators
282 282
    *   Array of widget validator ids.
Please login to merge, or discard this patch.
src/Plugin/Field/FieldWidget/FileBrowserWidget.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -81,8 +81,6 @@
 block discarded – undo
81 81
    *   Field widget display plugin manager.
82 82
    * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory
83 83
    *   The config factory.
84
-   * @param \Drupal\Core\Image\ImageFactory $image_factory
85
-   *   The image factory.
86 84
    * @param \Drupal\Core\Entity\EntityDisplayRepositoryInterface $display_repository
87 85
    *   The entity display repository service.
88 86
    */
Please login to merge, or discard this patch.