File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed
Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
55
66## [ Unreleased]
77
8+ - Fix method signature of ShapeFile::getDBFHeader()
9+
810## [ 3.0.0] - 2021-02-05
911### Added
1012- Support for PHPUnit 8 and 9
Original file line number Diff line number Diff line change 11parameters :
22 ignoreErrors :
3- -
4- message : " #^Method PhpMyAdmin\\\\ ShapeFile\\\\ ShapeFile\\ :\\ :getDBFHeader\\ (\\ ) should return array but returns array\\ |null\\ .$#"
5- count : 1
6- path : src/ShapeFile.php
7-
83 -
94 message : " #^Parameter \\ #1 \\ $fp of function feof expects resource, resource\\ |false given\\ .$#"
105 count : 1
Original file line number Diff line number Diff line change @@ -273,9 +273,9 @@ public function deleteRecord(int $index): void
273273 /**
274274 * Returns array defining fields in DBF file.
275275 *
276- * @return array see setDBFHeader for more information
276+ * @return array|null see setDBFHeader for more information
277277 */
278- public function getDBFHeader (): array
278+ public function getDBFHeader (): ? array
279279 {
280280 return $ this ->dbfHeader ;
281281 }
You can’t perform that action at this time.
0 commit comments