Skip to content

Commit d96c997

Browse files
committed
Fix lints
1 parent 60ad8c7 commit d96c997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function mmdb_autoload($class): void
3535
$path = str_replace('\\', '/', $path);
3636

3737
// and finally, add the PHP file extension to the result.
38-
$path = $path . '.php';
38+
$path .= '.php';
3939

4040
// $path should now contain the path to a PHP file defining $class
4141
if (file_exists($path)) {

src/MaxMind/Db/Reader/Decoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private function decodePointer(int $ctrlByte, int $offset): array
265265
$pointerSize = (($ctrlByte >> 3) & 0x3) + 1;
266266

267267
$buffer = Util::read($this->fileStream, $offset, $pointerSize);
268-
$offset = $offset + $pointerSize;
268+
$offset += $pointerSize;
269269

270270
switch ($pointerSize) {
271271
case 1:

0 commit comments

Comments
 (0)