Skip to content

Commit d250c3f

Browse files
authored
Merge pull request #183 from maxmind/greg/eng-1368-php-repo-lints-are-fixed
Run new version of php-cs-fixer
2 parents 1ff42f2 + e24d0bc commit d250c3f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/MaxMind/Db/Reader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ private function findMetadataStart(string $filename): int
356356
}
357357

358358
throw new InvalidDatabaseException(
359-
"Error opening database file ($filename). " .
360-
'Is this a valid MaxMind DB file?'
359+
"Error opening database file ($filename). "
360+
. 'Is this a valid MaxMind DB file?'
361361
);
362362
}
363363

src/MaxMind/Db/Reader/Metadata.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ public function __construct(array $metadata)
106106
);
107107
}
108108

109-
$this->binaryFormatMajorVersion =
110-
$metadata['binary_format_major_version'];
111-
$this->binaryFormatMinorVersion =
112-
$metadata['binary_format_minor_version'];
109+
$this->binaryFormatMajorVersion
110+
= $metadata['binary_format_major_version'];
111+
$this->binaryFormatMinorVersion
112+
= $metadata['binary_format_minor_version'];
113113
$this->buildEpoch = $metadata['build_epoch'];
114114
$this->databaseType = $metadata['database_type'];
115115
$this->languages = $metadata['languages'];

0 commit comments

Comments
 (0)