Skip to content

Commit

Permalink
Issue #3154125 by Patrick R., kevinvhengst: Return type of ContentEnt…
Browse files Browse the repository at this point in the history
…ityFormInterface::validateForm() seems to be wrong

(cherry picked from commit 74d51c95ee04ee7a4cf671ffe2822fa98e7b1708)
  • Loading branch information
alexpott committed Jul 13, 2020
1 parent 54ec9ee commit 720ef9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Drupal/Core/Entity/ContentEntityFormInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function isDefaultFormLangcode(FormStateInterface $form_state);
* For more information about entity validation, see
* https://www.drupal.org/node/2015613.
*
* @return \Drupal\Core\Entity\ContentEntityTypeInterface
* @return \Drupal\Core\Entity\ContentEntityInterface
* The built entity.
*/
public function validateForm(array &$form, FormStateInterface $form_state);
Expand Down

0 comments on commit 720ef9a

Please sign in to comment.