diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 2e31c5618e..702873d5be 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -15,11 +15,6 @@ parameters: count: 1 path: src/bundle/Core/Command/CleanupVersionsCommand.php - - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\|iterable\\ given\\.$#" - count: 1 - path: src/bundle/Core/Command/CleanupVersionsCommand.php - - message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, iterable\\ given\\.$#" count: 1 diff --git a/phpstan-baseline-gte-8.0.neon b/phpstan-baseline-gte-8.0.neon index 7835340d58..51c2930bdc 100644 --- a/phpstan-baseline-gte-8.0.neon +++ b/phpstan-baseline-gte-8.0.neon @@ -15,11 +15,6 @@ parameters: count: 1 path: src/bundle/Core/Command/CleanupVersionsCommand.php - - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|iterable\\ given\\.$#" - count: 1 - path: src/bundle/Core/Command/CleanupVersionsCommand.php - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, iterable\\ given\\.$#" count: 1 diff --git a/src/bundle/Core/Features/Context/BasicContentContext.php b/src/bundle/Core/Features/Context/BasicContentContext.php index 46100998a6..80ce1b481a 100644 --- a/src/bundle/Core/Features/Context/BasicContentContext.php +++ b/src/bundle/Core/Features/Context/BasicContentContext.php @@ -41,7 +41,7 @@ public function __construct( ContentTypeService $contentTypeService, ContentService $contentService ) { - $this->$repository = $repository; + $this->repository = $repository; $this->contentTypeService = $contentTypeService; $this->contentService = $contentService; }