Skip to content

Commit

Permalink
Fix docblocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Jun 24, 2014
1 parent 8e5fa19 commit ea3e843
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Controller/Component/FlashComponent.php
Expand Up @@ -16,8 +16,8 @@

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
Expand Down
8 changes: 4 additions & 4 deletions src/Model/Behavior/CounterCacheBehavior.php
Expand Up @@ -105,7 +105,7 @@ public function __construct(Table $table, array $config = []) {
*
* @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);
Expand All @@ -118,7 +118,7 @@ public function afterSave(Event $event, Entity $entity) {
*
* @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);
Expand All @@ -128,8 +128,8 @@ public function afterDelete(Event $event, Entity $entity) {
* 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) {
Expand Down
4 changes: 2 additions & 2 deletions src/View/StringTemplate.php
Expand Up @@ -79,8 +79,8 @@ public function __construct(array $config = []) {
* ]);
* }}}
*
* @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);
Expand Down

0 comments on commit ea3e843

Please sign in to comment.