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

Fix annotations in file view #13320

Merged
merged 2 commits into from
Jan 13, 2015
Merged

Fix annotations in file view #13320

merged 2 commits into from
Jan 13, 2015

Conversation

LukasReschke
Copy link
Member

@@ -435,11 +439,18 @@ public function unlink($path) {

/**
* @param string $directory
* @param bool $empty
Copy link
Member Author

Choose a reason for hiding this comment

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

@icewind1991: Where is empty actually used in that method?

Copy link
Contributor

Choose a reason for hiding this comment

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

Didn't find a call that uses it, so I guess it could be removed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

I couldn't find it too.

@MorrisJobke
Copy link
Contributor

Looks good 👍

@ghost
Copy link

ghost commented Jan 13, 2015

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/6601/
👍 Test PASSed. 👍

/**
* @param string $path1
* @param string $path2
* @return bool|mixed
Copy link
Contributor

Choose a reason for hiding this comment

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

mixed includes bool already?

Copy link
Member Author

Choose a reason for hiding this comment

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

I actually suspect that the mixed is not going to happen very often but the called functions return null at some point (or possibly other values) – I'd think this makes it cleaner to read.

Copy link
Contributor

Choose a reason for hiding this comment

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

well okay then

@MorrisJobke
Copy link
Contributor

I dropped the useless parameter.

@nickvergessen
Copy link
Contributor

👍

@ghost
Copy link

ghost commented Jan 13, 2015

Refer to this link for build results (access rights to CI server needed):
https://ci.owncloud.org//job/pull-request-analyser-ng-simple/6611/
👍 Test PASSed. 👍

@MorrisJobke MorrisJobke force-pushed the fix-php-doc-for-files-view branch from cbb22ab to 0a400b4 Compare January 13, 2015 17:04
@scrutinizer-notifier
Copy link

A new inspection was created.

@MorrisJobke
Copy link
Contributor

I just dropped the parameter in the PHPDoc too.

@MorrisJobke
Copy link
Contributor

still 👍 from me

MorrisJobke added a commit that referenced this pull request Jan 13, 2015
@MorrisJobke MorrisJobke merged commit c8fa854 into master Jan 13, 2015
@MorrisJobke MorrisJobke added this to the 8.0-current milestone Jan 13, 2015
@MorrisJobke MorrisJobke deleted the fix-php-doc-for-files-view branch January 13, 2015 17:05
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants