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

Commit

Permalink
Merge branch 'feature/di' into local-rs/feature/di
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralph Schindler committed Jul 13, 2011
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/Reader/Reader.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Reader
/**
* Cache instance
*
* @var \Zend\Cache\Core
* @var \Zend\Cache\Frontend\Core
*/
protected static $_cache = null;

Expand Down Expand Up @@ -111,7 +111,7 @@ class Reader
/**
* Get the Feed cache
*
* @return \Zend\Cache\Core
* @return \Zend\Cache\Frontend\Core
*/
public static function getCache()
{
Expand All @@ -121,10 +121,10 @@ public static function getCache()
/**
* Set the feed cache
*
* @param \Zend\Cache\Core $cache
* @param \Zend\Cache\Frontend\Core $cache
* @return void
*/
public static function setCache(\Zend\Cache\Core $cache)
public static function setCache(\Zend\Cache\Frontend\Core $cache)
{
self::$_cache = $cache;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Writer/Feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public function export($type, $ignoreExceptions = false)
throw new Exception('Invalid feed type specified: ' . $type . '.'
. ' Should be one of "rss" or "atom".');
}
$renderClass = 'Renderer\\Feed\\' . $type;
$renderClass = '\\Zend\\Feed\\Writer\\Renderer\\Feed\\' . $type;
$renderer = new $renderClass($this);
if ($ignoreExceptions) {
$renderer->ignoreExceptions();
Expand Down
1 change: 0 additions & 1 deletion tools/phptools
Submodule phptools deleted from d232cb

0 comments on commit 1aaf7f9

Please sign in to comment.