Skip to content

Commit 5c7dac2

Browse files
committed
minor symfony#59108 [AssetMapper] Fix missing return type (alexandre-daubois)
This PR was merged into the 7.3 branch. Discussion ---------- [AssetMapper] Fix missing return type | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT A return type is missing: https://github.com/symfony/symfony/actions/runs/12199796735/job/34034462666. ``@return` resource` is added to match other implementations of `SupportedCompressorInterface`. Commits ------- 99737f9 [AssetMapper] Fix missing return type
2 parents 12ff1bf + 99737f9 commit 5c7dac2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/AssetMapper/Compressor/ZopfliCompressor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ private function compressWithBinary(string $path): void
3838
(new Process([$this->executable, '--', $path]))->mustRun();
3939
}
4040

41+
/**
42+
* @return resource
43+
*/
4144
private function createStreamContext()
4245
{
4346
throw new \BadMethodCallException('Extension is not supported yet.');

0 commit comments

Comments
 (0)