We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 048eaa0 commit 5ef6a74Copy full SHA for 5ef6a74
2 files changed
src/Package.php
@@ -77,7 +77,7 @@ public function getDirectory(): string
77
/**
78
* Get resource bundle object.
79
*/
80
- public function bundle(Finder $finder = null): Bundle
+ public function bundle(?Finder $finder = null): Bundle
81
{
82
$bundle = new Bundle();
83
$dir = $this->getDirectory();
src/TargetPhar.php
@@ -72,7 +72,7 @@ public function buildFromIterator(Traversable $iterator): void
72
73
* Create the default execution file.
74
75
- public function createDefaultStub(string $indexFile, string $webIndexFile = null): string
+ public function createDefaultStub(string $indexFile, ?string $webIndexFile = null): string
76
$params = [$indexFile];
if ($webIndexFile != null) {
0 commit comments