10000 [Asset] removed unused private property. by hhamon · Pull Request #15367 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Asset] removed unused private property. #15367

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
Jul 26, 2015

Conversation

hhamon
Copy link
Contributor
@hhamon hhamon commented Jul 25, 2015
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets ~
License MIT
Doc PR ~

@wouterj
Copy link
Member
wouterj commented Jul 25, 2015

Looks correct to me.

Status: Reviewed

@@ -62,7 +61,7 @@ public function __construct($baseUrls = array(), VersionStrategyInterface $versi
$sslUrls = $this->getSslUrls($baseUrls);

if ($sslUrls && $baseUrls !== $sslUrls) {
$this->sslPackage = new UrlPackage($sslUrls, $versionStrategy);
$this->sslPackage = new self($sslUrls, $versionStrategy);
Copy link
Member

Choose a reason for hiding this comment

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

Is that necessary?

Copy link
Member

Choose a reason for hiding this comment

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

No, but it's easier when renaming the class name and apart from that, works exactly the same.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fabbot.io forced to me to change it to new self to make the build pass. Looks like that's one of our coding conventions :)

@dunglas
Copy link
Member
dunglas commented Jul 26, 2015

👍

@fabpot
Copy link
Member
fabpot commented Jul 26, 2015

Thank you @hhamon.

@fabpot fabpot merged commit a1772b6 into symfony:2.7 Jul 26, 2015
fabpot added a commit that referenced this pull request Jul 26, 2015
This PR was merged into the 2.7 branch.

Discussion
----------

[Asset] removed unused private property.

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | ~
| License       | MIT
| Doc PR        | ~

Commits
-------

a1772b6 [Asset] removed unused private property.
@hhamon hhamon deleted the asset-remove-unused-property branch December 29, 2015 16:21
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.

6 participants
0