Commit 5369010a authored by dpi's avatar dpi
Browse files

Issue #3323598 by dpi: Round of PHP 8.1 syntax changes

parent 9a20eda0
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -37,11 +37,11 @@ final class AuditFilesListener implements EventSubscriberInterface {
   * Constructs a new AuditFilesListener.
   */
  final public function __construct(
    protected Connection $connection,
    protected FileSystemInterface $fileSystem,
    protected MimeTypeGuesserInterface $fileMimeTypeGuesser,
    protected TimeInterface $time,
    protected EntityTypeManagerInterface $entityTypeManager,
    protected readonly Connection $connection,
    protected readonly FileSystemInterface $fileSystem,
    protected readonly MimeTypeGuesserInterface $fileMimeTypeGuesser,
    protected readonly TimeInterface $time,
    protected readonly EntityTypeManagerInterface $entityTypeManager,
  ) {
  }

+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@ final class AuditFilesManagedNotUsed implements AuditFilesAuditorInterface {
   * Constructs a new AuditFilesManagedNotUsed.
   */
  final public function __construct(
    protected AuditFilesConfigInterface $auditFilesConfig,
    protected Connection $connection,
    protected readonly AuditFilesConfigInterface $auditFilesConfig,
    protected readonly Connection $connection,
  ) {
  }

+4 −4
Original line number Diff line number Diff line
@@ -31,10 +31,10 @@ final class AuditFilesMergeFileReferences implements AuditFilesAuditorInterface,
   * Constructs a new AuditFilesMergeFileReferences.
   */
  final public function __construct(
    protected AuditFilesConfigInterface $auditFilesConfig,
    protected Connection $connection,
    protected FileSystemInterface $fileSystem,
    protected EntityTypeManagerInterface $entityTypeManager,
    protected readonly AuditFilesConfigInterface $auditFilesConfig,
    protected readonly Connection $connection,
    protected readonly FileSystemInterface $fileSystem,
    protected readonly EntityTypeManagerInterface $entityTypeManager,
  ) {
  }

+4 −5
Original line number Diff line number Diff line
@@ -25,10 +25,10 @@ final class AuditFilesNotInDatabase implements AuditFilesAuditorInterface {
   * Constructs a new AuditFilesNotInDatabase.
   */
  final public function __construct(
    protected AuditFilesConfigInterface $auditFilesConfig,
    protected AuditFilesExclusions $exclusions,
    protected Connection $connection,
    protected FileSystemInterface $fileSystem,
    protected readonly AuditFilesConfigInterface $auditFilesConfig,
    protected readonly AuditFilesExclusions $exclusions,
    protected readonly Connection $connection,
    protected readonly FileSystemInterface $fileSystem,
  ) {
  }

@@ -156,7 +156,6 @@ final class AuditFilesNotInDatabase implements AuditFilesAuditorInterface {
    return $path;
  }


  /**
   * Checks to see if the file is being included.
   *
+3 −3
Original line number Diff line number Diff line
@@ -24,9 +24,9 @@ final class AuditFilesNotOnServer implements AuditFilesAuditorInterface {
   * Constructs a new AuditFilesNotOnServer.
   */
  final public function __construct(
    protected AuditFilesConfigInterface $auditFilesConfig,
    protected Connection $connection,
    protected FileSystemInterface $fileSystem,
    protected readonly AuditFilesConfigInterface $auditFilesConfig,
    protected readonly Connection $connection,
    protected readonly FileSystemInterface $fileSystem,
  ) {
  }

Loading