Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Fixing comment to be more concise.

  • Loading branch information...
commit 5702007da1bd2d0c822fc13f04fb80aba9fbbc77 1 parent 20a8379
Sean Harvey halkyon authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 core/Object.php
5 core/Object.php
View
@@ -278,10 +278,9 @@ public static function getCustomClass($class) {
/**
* Get the value of a static property of a class, even in that property is declared protected (but not private), without any inheritance,
- * merging or parent lookup if it doesn't exist on the given class
+ * merging or parent lookup if it doesn't exist on the given class.
*
- * In 5.3, we can do this fast using $foo::$bar syntax, but this method then needs to be in a base class of $class
- * to bust the protected def
+ * If using PHP 5.4, we can do this using $foo::$bar syntax. PHP 5.3 uses ReflectionClass to get the static properties instead.
*
* @static
* @param $class - The class to get the static from
Please sign in to comment.
Something went wrong with that request. Please try again.