From 38cb02ceeb0e1c8f7b21cefafb96ecd514c45d6f Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 2 Mar 2024 09:27:45 +0100 Subject: [PATCH] Do not use implicitly nullable parameters --- src/values/Manifest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/values/Manifest.php b/src/values/Manifest.php index b529722..3646682 100644 --- a/src/values/Manifest.php +++ b/src/values/Manifest.php @@ -76,7 +76,7 @@ public function isExtension(): bool { return $this->type->isExtension(); } - public function isExtensionFor(ApplicationName $application, Version $version = null): bool { + public function isExtensionFor(ApplicationName $application, ?Version $version = null): bool { if (!$this->isExtension()) { return false; }