From ca93bbcd151d0779fe640fb294f3adb0b57acbc9 Mon Sep 17 00:00:00 2001 From: chinpei215 Date: Mon, 14 Jul 2014 01:21:09 +0900 Subject: [PATCH] Fix CS --- lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php | 5 ++++- lib/Cake/Test/Case/Model/ModelWriteTest.php | 11 ++++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php index 6d1bde508..731b309ec 100644 --- a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php @@ -33,6 +33,9 @@ require_once dirname(dirname(__FILE__)) . DS . 'models.php'; */ class MockPDO extends PDO { +/** + * Constructor. + */ public function __construct() { } @@ -1416,7 +1419,7 @@ class DboSourceTest extends CakeTestCase { /** * Test defaultConditions() * - * @return + * @return void */ public function testDefaultConditions() { $this->loadFixtures('Article'); diff --git a/lib/Cake/Test/Case/Model/ModelWriteTest.php b/lib/Cake/Test/Case/Model/ModelWriteTest.php index d36f0b01c..875fdd19b 100644 --- a/lib/Cake/Test/Case/Model/ModelWriteTest.php +++ b/lib/Cake/Test/Case/Model/ModelWriteTest.php @@ -6371,6 +6371,11 @@ class ModelWriteTest extends BaseModelTest { $this->assertEquals(array(6, 4, 5, 2), $result); } +/** + * testToggleBoolFields method + * + * @return void + */ public function testToggleBoolFields() { $this->loadFixtures('CounterCacheUser', 'CounterCachePost'); $Post = new CounterCachePost(); @@ -7266,7 +7271,7 @@ class ModelWriteTest extends BaseModelTest { * Test that Model::save() doesn't generate a query with WHERE 1 = 1 on race condition. * * @link https://github.com/cakephp/cakephp/issues/3857 - * @return + * @return void */ public function testSafeUpdateMode() { $this->loadFixtures('User'); @@ -7303,8 +7308,8 @@ class ModelWriteTest extends BaseModelTest { /** * Emulates race condition * - * @param $event - * @return + * @param CakeEvent $event containing the Model + * @return void */ public function deleteMe($event) { $Model = $event->subject;