Commit 4feff074 authored by catch's avatar catch
Browse files

Issue #3209239 by longwave: [Symfony 5]...

Issue #3209239 by longwave: [Symfony 5] Symfony\Contracts\EventDispatcher\Event subclasses need return types
parent 528f1878
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public function isSecurityRename(): bool {
   *
   * @see \Drupal\system\EventSubscriber\SecurityFileUploadEventSubscriber
   */
  public function stopPropagation() {
  public function stopPropagation(): void {
    throw new \RuntimeException('Propagation cannot be stopped for the FileUploadSanitizeNameEvent');
  }