Browse Source

Fix phpstan warning variable $markerShadowImg might not be defined

pull/34/head
b_b 5 months ago
parent
commit
b5d3ec6afe
  1. 1
      inc/staticmap.php

1
inc/staticmap.php

@ -284,6 +284,7 @@ class staticMapGis
// create img + shadow resource
$markerImg = imagecreatefrompng($markerPath);
$markerShadowImg = null;
if ($markerShadow) {
$markerShadowImg = imagecreatefrompng($markerShadow);
}

Loading…
Cancel
Save