mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix some missed doc block issues
This commit is contained in:
parent
fb61d9393b
commit
327fcb4846
3 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue