Skip to content

Commit

Permalink
Merge pull request #183 from maxmind/greg/eng-1368-php-repo-lints-are…
Browse files Browse the repository at this point in the history
…-fixed

Run new version of php-cs-fixer
  • Loading branch information
horgh authored Feb 24, 2025
2 parents 1ff42f2 + e24d0bc commit d250c3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/MaxMind/Db/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ private function findMetadataStart(string $filename): int
}

throw new InvalidDatabaseException(
"Error opening database file ($filename). " .
'Is this a valid MaxMind DB file?'
"Error opening database file ($filename). "
. 'Is this a valid MaxMind DB file?'
);
}

Expand Down
8 changes: 4 additions & 4 deletions src/MaxMind/Db/Reader/Metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ public function __construct(array $metadata)
);
}

$this->binaryFormatMajorVersion =
$metadata['binary_format_major_version'];
$this->binaryFormatMinorVersion =
$metadata['binary_format_minor_version'];
$this->binaryFormatMajorVersion
= $metadata['binary_format_major_version'];
$this->binaryFormatMinorVersion
= $metadata['binary_format_minor_version'];
$this->buildEpoch = $metadata['build_epoch'];
$this->databaseType = $metadata['database_type'];
$this->languages = $metadata['languages'];
Expand Down

0 comments on commit d250c3f

Please sign in to comment.