Skip to content

Commit

Permalink
Updating doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
burzum committed Apr 29, 2017
1 parent ed3647a commit 4b62a34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Cache/Cache.php
Expand Up @@ -121,7 +121,8 @@ public static function getRegistry()
}

/**
* Returns the Cache Registry instance used for creating and using cache adapters.
* Sets the Cache Registry instance used for creating and using cache adapters.
*
* Also allows for injecting of a new registry instance.
*
* @param \Cake\Core\ObjectRegistry $registry Injectable registry object.
Expand All @@ -136,9 +137,9 @@ public static function setRegistry(ObjectRegistry $registry)
* Returns the Cache Registry instance used for creating and using cache adapters.
* Also allows for injecting of a new registry instance.
*
* @deprecated Deprecated since 3.5. Use getRegistry() and setRegistry() instead.
* @param \Cake\Core\ObjectRegistry|null $registry Injectable registry object.
* @return \Cake\Core\ObjectRegistry
* @deprecated Deprecated since 3.5. Use getRegistry() and setRegistry() instead.
*/
public static function registry(ObjectRegistry $registry = null)
{
Expand Down

0 comments on commit 4b62a34

Please sign in to comment.