diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 3313301..3777c04 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -4,28 +4,3 @@ parameters: message: "#^Method BomWeather\\\\Util\\\\BaseNormalizer\\:\\:normalize\\(\\) return type with generic class ArrayObject does not specify its types\\: TKey, TValue$#" count: 1 path: src/Util/BaseNormalizer.php - - - - message: "#^Call to method getEndTime\\(\\) on an unknown class BomWeather\\\\Forecast\\\\RegionForecastPeriod\\.$#" - count: 1 - path: tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php - - - - message: "#^Call to method getForecast\\(\\) on an unknown class BomWeather\\\\Forecast\\\\RegionForecastPeriod\\.$#" - count: 1 - path: tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php - - - - message: "#^Call to method getStartTime\\(\\) on an unknown class BomWeather\\\\Forecast\\\\RegionForecastPeriod\\.$#" - count: 1 - path: tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php - - - - message: "#^Parameter \\#1 \\$periods of method BomWeather\\\\Tests\\\\Unit\\\\Forecast\\\\Serializer\\\\ForecastSerializerTest\\:\\:assertRegionPeriods\\(\\) expects array\\, array\\ given\\.$#" - count: 1 - path: tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php - - - - message: "#^Parameter \\$periods of method BomWeather\\\\Tests\\\\Unit\\\\Forecast\\\\Serializer\\\\ForecastSerializerTest\\:\\:assertRegionPeriods\\(\\) has invalid type BomWeather\\\\Forecast\\\\RegionForecastPeriod\\.$#" - count: 1 - path: tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php diff --git a/tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php b/tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php index f0cf8bd..80aa30a 100644 --- a/tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php +++ b/tests/src/Unit/Forecast/Serializer/ForecastSerializerTest.php @@ -73,7 +73,7 @@ public function testDeserializeSydney(): void { /** * Asserts regions are valid. * - * @param \BomWeather\Forecast\RegionForecastPeriod[] $periods + * @param \BomWeather\Forecast\ForecastPeriod[] $periods * The regions. */ protected function assertRegionPeriods(array $periods): void {