Skip to content

Commit e27c429

Browse files
committed
Fix some more types
Signed-off-by: William Desportes <[email protected]>
1 parent 169c488 commit e27c429

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/ShapeFile.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class ShapeFile
5555
{
5656
public const MAGIC = 0x270a;
5757

58-
/** @var string */
58+
/** @var string|null */
5959
public $fileName;
6060

6161
/** @var resource|null */
@@ -96,9 +96,9 @@ public static function supportsDbase(): bool
9696
}
9797

9898
/**
99-
* @param int $shapeType File shape type, should be same as all records
100-
* @param array $boundingBox File bounding box
101-
* @param mixed|null $fileName File name
99+
* @param int $shapeType File shape type, should be same as all records
100+
* @param array $boundingBox File bounding box
101+
* @param string|null $fileName File name
102102
*/
103103
public function __construct(
104104
int $shapeType,
@@ -108,7 +108,7 @@ public function __construct(
108108
'xmax' => 0.0,
109109
'ymax' => 0.0,
110110
],
111-
$fileName = null
111+
?string $fileName = null
112112
) {
113113
$this->shapeType = $shapeType;
114114
$this->boundingBox = $boundingBox;

0 commit comments

Comments
 (0)