Permalink
Browse files

[#3045] Rename private variable

- Remove double underscore prefix
  • Loading branch information...
1 parent 0843451 commit fd07e64a3888cf5463432dd619a626adf3d29497 @weierophinney weierophinney committed Nov 26, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 library/Zend/Mvc/Router/Http/Segment.php
@@ -27,7 +27,7 @@ class Segment implements RouteInterface
/**
* @var array Cache for the encode output
*/
- private static $__cacheEncode = array();
+ private static $cacheEncode = array();
/**
* Map of allowed special chars in path segments.
@@ -413,11 +413,11 @@ public function getAssembledParams()
*/
private function encode($value)
{
- if (!isset(static::$__cacheEncode[$value])) {
- static::$__cacheEncode[$value] = rawurlencode($value);
- static::$__cacheEncode[$value] = strtr(static::$__cacheEncode[$value], static::$urlencodeCorrectionMap);
+ if (!isset(static::$cacheEncode[$value])) {
+ static::$cacheEncode[$value] = rawurlencode($value);
+ static::$cacheEncode[$value] = strtr(static::$cacheEncode[$value], static::$urlencodeCorrectionMap);
}
- return static::$__cacheEncode[$value];
+ return static::$cacheEncode[$value];
}
/**

0 comments on commit fd07e64

Please sign in to comment.