Skip to content

Commit b3dd672

Browse files
terabytesoftwStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 1557b91 commit b3dd672

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

‎src/Asset/AssetCollection.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public function all(): array
7676
*
7777
* @return AssetCollection A new collection holding both sequences.
7878
*/
79-
public function append(AssetInterface ...$assets): AssetCollection
79+
public function append(AssetInterface ...$assets): self
8080
{
8181
return new self([...$this->assets, ...$assets]);
8282
}
@@ -166,7 +166,7 @@ public function moduleScripts(): array
166166
*
167167
* @return AssetCollection A new collection holding both sequences.
168168
*/
169-
public function prepend(AssetInterface ...$assets): AssetCollection
169+
public function prepend(AssetInterface ...$assets): self
170170
{
171171
return new self([...$assets, ...$this->assets]);
172172
}

‎src/Resolver/ManifestAssetResolver.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ private function importedChunks(Manifest $manifest, ManifestChunk $chunk, array
196196
* @param array<string, ModuleScript> $scripts Module scripts keyed by asset URL.
197197
* @param array<string, ModulePreload> $preloads Module-preload hints keyed by asset URL.
198198
*
199-
* @return iterable<Stylesheet|ModuleScript|ModulePreload> Generator yielding stylesheets, then scripts, then
199+
* @return iterable<ModulePreload|ModuleScript|Stylesheet> Generator yielding stylesheets, then scripts, then
200200
* preloads.
201201
*/
202202
private function orderedAssets(array $stylesheets, array $scripts, array $preloads): iterable

‎tests/ViteProductionTest.php‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ public function testEntrypointsWithSameOutputFileAreDeduplicated(): void
124124
);
125125
}
126126

127-
128127
public function testImportedCssChunkIsRenderedAndNotPreloaded(): void
129128
{
130129
$assets = $this->vite('css-chunk-import-manifest.json', ['resources/js/app.js'])->resolve();

0 commit comments

Comments
 (0)