Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Filesystem] Replace remaing docblocks by type-hints#24926

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
ro0NL wants to merge1 commit intosymfony:masterfromro0NL:filesystem
Closed

[Filesystem] Replace remaing docblocks by type-hints#24926

ro0NL wants to merge1 commit intosymfony:masterfromro0NL:filesystem

Conversation

@ro0NL
Copy link
Contributor

@ro0NLro0NL commentedNov 11, 2017
edited
Loading

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#...
LicenseMIT
Doc PRsymfony/symfony-docs#...

Partially forgotten in#24722 as onlyprivate getSchemeAndHierarchy was updated.

Adds simplification oftoIterator.

edit: wrong labels.

* @return \Traversable
*/
privatefunctiontoIterator($files)
privatefunctiontoIterable($files):iterable

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

the name change is debatable, and creates useless diff lines, thus won't help merges
should be reverted IMHO

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

hence#24928 :)

}

return$files;
returnis_iterable($files) ?$files :array($files);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

this implementation is not compatible with the previous, won't it create BC breaks f the return is forwarded as return value of a public method?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

private API :) checked all usages; they truly rely on aforeachable value.

@ro0NLro0NL closed thisNov 13, 2017
@ro0NLro0NL deleted the filesystem branchNovember 18, 2017 10:42
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ro0NL@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp