From 327fcb484639ba8a55ae10a3ecfa8e7f70cf4dcd Mon Sep 17 00:00:00 2001 From: Guy Warner Date: Sun, 30 Nov 2014 14:50:11 -0700 Subject: [PATCH] Fix some missed doc block issues --- lib/Cake/Model/Model.php | 2 +- lib/Cake/Test/Case/Event/CakeEventManagerTest.php | 2 +- lib/Cake/TestSuite/ControllerTestCase.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index 8ba7b8bff..f3faad97b 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -2594,7 +2594,7 @@ class Model extends Object implements CakeEventListener { * @param bool $cascade Set to true to delete records that depend on this record * @return bool True on success * @triggers Model.beforeDelete $this, array($cascade) - * @triggers Model.afterDelete $this) + * @triggers Model.afterDelete $this * @link http://book.cakephp.org/2.0/en/models/deleting-data.html */ public function delete($id = null, $cascade = true) { diff --git a/lib/Cake/Test/Case/Event/CakeEventManagerTest.php b/lib/Cake/Test/Case/Event/CakeEventManagerTest.php index 9b4cd77ec..5eb8d3a2c 100644 --- a/lib/Cake/Test/Case/Event/CakeEventManagerTest.php +++ b/lib/Cake/Test/Case/Event/CakeEventManagerTest.php @@ -518,7 +518,7 @@ class CakeEventManagerTest extends CakeTestCase { * listeners at the same priority. * * @return void - * @triggers fake.event $this) + * @triggers fake.event $this */ public function testDispatchWithGlobalAndLocalEvents() { $listener = new CustomTestEventListener(); diff --git a/lib/Cake/TestSuite/ControllerTestCase.php b/lib/Cake/TestSuite/ControllerTestCase.php index b05192d95..ba93ab7d2 100644 --- a/lib/Cake/TestSuite/ControllerTestCase.php +++ b/lib/Cake/TestSuite/ControllerTestCase.php @@ -213,7 +213,7 @@ abstract class ControllerTestCase extends CakeTestCase { * @param string $url The url to test * @param array $options See options * @return mixed - * @triggers ControllerTestCase $Dispatch, array('request' => $request + * @triggers ControllerTestCase $Dispatch, array('request' => $request) */ protected function _testAction($url = '', $options = array()) { $this->vars = $this->result = $this->view = $this->contents = $this->headers = null;