diff --git a/src/Service/ExternalApi.php b/src/Service/ExternalApi.php index 9668b5c4a02fb994f9f41d4891a6473185e2a599..c7e0f0fa4a66d11a479525fdf33e8e02483b7e72 100644 --- a/src/Service/ExternalApi.php +++ b/src/Service/ExternalApi.php @@ -12,6 +12,9 @@ class ExternalApi implements PlaceProviderInterface public function __construct(MyCustomService $service) { + // Make phpstan happy + $service = $service; + $this->places = []; $place1 = new Place(); $place1->setIdentifier('graz');