File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ class ShapeFile
55
55
{
56
56
public const MAGIC = 0x270a ;
57
57
58
- /** @var string */
58
+ /** @var string|null */
59
59
public $ fileName ;
60
60
61
61
/** @var resource|null */
@@ -96,9 +96,9 @@ public static function supportsDbase(): bool
96
96
}
97
97
98
98
/**
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
102
102
*/
103
103
public function __construct (
104
104
int $ shapeType ,
@@ -108,7 +108,7 @@ public function __construct(
108
108
'xmax ' => 0.0 ,
109
109
'ymax ' => 0.0 ,
110
110
],
111
- $ fileName = null
111
+ ? string $ fileName = null
112
112
) {
113
113
$ this ->shapeType = $ shapeType ;
114
114
$ this ->boundingBox = $ boundingBox ;
You can’t perform that action at this time.
0 commit comments