Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update method return types and yield statements #218

Merged
merged 1 commit into from
Jun 8, 2024

Conversation

Spomky
Copy link
Member

@Spomky Spomky commented Jun 8, 2024

The methods' return types have been updated from iterable to iterable<string, Data> in several files, namely FaviconsCompiler.php, ManifestCompiler.php, FileCompilerInterface.php, and ServiceWorkerCompiler.php. Moreover, yield statements have been modified to yield a pair of string (URL) and Data instead of just Data to enhance data identification and access.

Target branch: 1.2.x
Resolves issue #216

  • It is a Bug fix
  • It is a New feature
  • Breaks BC
  • Includes Deprecations

The methods' return types have been updated from iterable<Data> to iterable<string, Data> in several files, namely FaviconsCompiler.php, ManifestCompiler.php, FileCompilerInterface.php, and ServiceWorkerCompiler.php. Moreover, yield statements have been modified to yield a pair of string (URL) and Data instead of just Data to enhance data identification and access.
@Spomky Spomky added the bug Something isn't working label Jun 8, 2024
@Spomky Spomky added this to the 1.2.2 milestone Jun 8, 2024
@Spomky Spomky self-assigned this Jun 8, 2024
@Spomky Spomky linked an issue Jun 8, 2024 that may be closed by this pull request
@Spomky Spomky merged commit 65c2a87 into 1.2.x Jun 8, 2024
10 checks passed
@Spomky Spomky deleted the bugs/multiple-resource-calls branch June 8, 2024 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

duplicate generated files in debugging
1 participant