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
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 ;
You can’t perform that action at this time.
0 commit comments