Fix PHPStan issues

This commit is contained in:
Oliver Davies 2020-09-04 20:49:23 +01:00
parent a08f93c188
commit 98fba9306f
6 changed files with 10 additions and 8 deletions

View file

@ -31,7 +31,7 @@ final class UpdateTalkNodeBeforeSave implements EventSubscriberInterface {
return;
}
/** @var \Drupal\opdavies_blog\Entity\Node\Talk $talk */
/** @var Talk $talk */
$talk = $event->getEntity();
$this->reorderEvents($talk);
$this->updateCreatedDate($talk);