Skip to content

[Filesystem] filesystem > readlink: remove function declaration #16883

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

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

alexislefebvre
Copy link
Contributor

@alexislefebvre alexislefebvre commented Jun 16, 2022

I think that public function was confusing here: we don't want to define this method but we want to know how to use it.

The code will be more consistent with the other examples.

@@ -214,9 +214,9 @@ systems (unlike PHP's :phpfunction:`readlink` function)::

Its behavior is the following::

public function readlink($path, $canonicalize = false)
$filesystem->readlink($path, $canonicalize = false);
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should rather remove the whole paragraph? Even with the proposed changes I still find it rather confusing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree, there are already 2 examples of calls, this one didn't add any value, the PR has been updated.

@carsonbot carsonbot changed the title filesystem > readlink: remove function declaration [Filesystem] filesystem > readlink: remove function declaration Aug 9, 2022
@javiereguiluz
Copy link
Member

Thank you Alexis.

@javiereguiluz javiereguiluz merged commit 4cfd68b into symfony:4.4 Aug 9, 2022
@alexislefebvre alexislefebvre deleted the patch-3 branch August 9, 2022 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants