Browse Source

Fix docblocks.

ADmad 11 years ago
parent
commit
ea3e843eb6

+ 1 - 1
src/Controller/Component/FlashComponent.php

@@ -16,8 +16,8 @@ namespace Cake\Controller\Component;
 
 use Cake\Controller\Component;
 use Cake\Controller\ComponentRegistry;
-use Cake\Utility\Inflector;
 use Cake\Error\InternalErrorException;
+use Cake\Utility\Inflector;
 
 /**
  * The CakePHP FlashComponent provides a way for you to write a flash variable

+ 4 - 4
src/Model/Behavior/CounterCacheBehavior.php

@@ -105,7 +105,7 @@ class CounterCacheBehavior extends Behavior {
  *
  * @param \Cake\Event\Event $event The afterSave event that was fired.
  * @param \Cake\ORM\Entity $entity The entity that was saved.
- * @return void
+ * @return void
  */
 	public function afterSave(Event $event, Entity $entity) {
 		$this->_processAssociations($event, $entity);
@@ -118,7 +118,7 @@ class CounterCacheBehavior extends Behavior {
  *
  * @param \Cake\Event\Event $event The afterDelete event that was fired.
  * @param \Cake\ORM\Entity $entity The entity that was deleted.
- * @return void
+ * @return void
  */
 	public function afterDelete(Event $event, Entity $entity) {
 		$this->_processAssociations($event, $entity);
@@ -128,8 +128,8 @@ class CounterCacheBehavior extends Behavior {
  * Iterate all associations and update counter caches.
  *
  * @param \Cake\Event\Event $event Event instance.
- * @param \Cake\ORM\Entity $entity Entity
- * @return void
+ * @param \Cake\ORM\Entity $entity Entity.
+ * @return void
  */
 	protected function _processAssociations(Event $event, Entity $entity) {
 		foreach ($this->_config as $assoc => $settings) {

+ 2 - 2
src/View/StringTemplate.php

@@ -79,8 +79,8 @@ class StringTemplate {
  * ]);
  * }}}
  *
- * @param array an associative list of named templates
- * @return \Cake\View\StringTemplate same instance
+ * @param array $templates An associative list of named templates.
+ * @return $this
  */
 	public function add(array $templates) {
 		$this->config($templates);