Aggiornato Composer
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
/*
|
||||
* This file is part of PharIo\Manifest.
|
||||
*
|
||||
* (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de>
|
||||
* Copyright (c) Arne Blankerts <arne@blankerts.de>, Sebastian Heuer <sebastian@phpeople.de>, Sebastian Bergmann <sebastian@phpunit.de> and contributors
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*
|
||||
*/
|
||||
namespace PharIo\Manifest;
|
||||
|
||||
@@ -75,7 +76,7 @@ class Manifest {
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user