Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

change self:: with static:: in call-ing static property/method #5329

Merged
merged 1 commit into from
Oct 23, 2013

Conversation

samsonasik
Copy link
Contributor

some of this change is part of #5136 that I forgot to comment about changing self:: to static:: when calling static property/method that merged to develop branch. So I proposed it to be pointed to develop

@samsonasik
Copy link
Contributor Author

travis failure is not related to this PR.

@@ -78,11 +78,11 @@ public static function compareVersion($version)
*/
public static function getLatest($service = self::VERSION_SERVICE_ZEND, Http\Client $httpClient = null)
{
if (null !== self::$latestVersion) {
Copy link
Member

Choose a reason for hiding this comment

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

Since this class is marked as final, changing self to static makes no sense. :) (I'll revert these on merge.)

weierophinney added a commit that referenced this pull request Oct 23, 2013
change self:: with static:: in call-ing static property/method
weierophinney added a commit that referenced this pull request Oct 23, 2013
- Since the class is final, LSB can never be invoked.
weierophinney added a commit that referenced this pull request Oct 23, 2013
@weierophinney weierophinney merged commit ab9583a into zendframework:develop Oct 23, 2013
@ghost ghost assigned weierophinney Oct 23, 2013
weierophinney added a commit to zendframework/zend-mail that referenced this pull request May 14, 2015
…ix/self-to-static

change self:: with static:: in call-ing static property/method
weierophinney added a commit to zendframework/zend-mail that referenced this pull request May 14, 2015
weierophinney added a commit to zendframework/zend-navigation that referenced this pull request May 15, 2015
…ix/self-to-static

change self:: with static:: in call-ing static property/method
weierophinney added a commit to zendframework/zend-navigation that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants