Skip to content

Commit c5f0ad2

Browse files
committed
Rename variable to use camelcase format
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
1 parent 8a8e82e commit c5f0ad2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/ShapeFile.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -304,20 +304,20 @@ public function getIndexFromDBFData(string $field, string $value): int
304304
*/
305305
private function loadDBFHeader(): array
306306
{
307-
$DBFFile = fopen($this->getFilename('.dbf'), 'r');
308-
if ($DBFFile === false) {
307+
$dbfFile = fopen($this->getFilename('.dbf'), 'r');
308+
if ($dbfFile === false) {
309309
return [];
310310
}
311311

312312
$result = [];
313313
$i = 1;
314314

315315
while (true) {
316-
if (feof($DBFFile)) {
316+
if (feof($dbfFile)) {
317317
break;
318318
}
319319

320-
$buff32 = fread($DBFFile, 32);
320+
$buff32 = fread($dbfFile, 32);
321321
if ($i > 1) {
322322
if (substr($buff32, 0, 1) === chr(13)) {
323323
break;
@@ -337,7 +337,7 @@ private function loadDBFHeader(): array
337337
++$i;
338338
}
339339

340-
fclose($DBFFile);
340+
fclose($dbfFile);
341341

342342
return $result;
343343
}

0 commit comments

Comments
 (0)