@@ -9,7 +9,7 @@ |
||
| 9 | 9 | * |
| 10 | 10 | * @param Model $model Model |
| 11 | 11 | * @param array $query Query |
| 12 | - * @return mixed |
|
| 12 | + * @return boolean |
|
| 13 | 13 | */ |
| 14 | 14 | public function beforeFind(Model $model, $query) { |
| 15 | 15 | $db = $model->getDataSource(); |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * EagerLoader class |
|
| 4 | - * |
|
| 5 | - * @internal |
|
| 6 | - */ |
|
| 3 | + * EagerLoader class |
|
| 4 | + * |
|
| 5 | + * @internal |
|
| 6 | + */ |
|
| 7 | 7 | class EagerLoader { |
| 8 | 8 | |
| 9 | 9 | private static $handlers = array(); // @codingStandardsIgnoreLine |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * EagerLoaderModel class |
|
| 4 | - * |
|
| 5 | - * @internal |
|
| 6 | - */ |
|
| 3 | + * EagerLoaderModel class |
|
| 4 | + * |
|
| 5 | + * @internal |
|
| 6 | + */ |
|
| 7 | 7 | class EagerLoaderModel extends Model { |
| 8 | 8 | |
| 9 | 9 | public $useTable = false; |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * All EagerLoader plugin tests |
|
| 4 | - */ |
|
| 3 | + * All EagerLoader plugin tests |
|
| 4 | + */ |
|
| 5 | 5 | class AllEagerLoaderTest extends PHPUnit_Framework_TestSuite { |
| 6 | 6 | |
| 7 | 7 | /** |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * AppModel for testing |
|
| 4 | - */ |
|
| 3 | + * AppModel for testing |
|
| 4 | + */ |
|
| 5 | 5 | class AppModel extends CakeTestModel { |
| 6 | 6 | |
| 7 | 7 | public $actsAs = array( |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Article for testing |
|
| 4 | - */ |
|
| 3 | + * Article for testing |
|
| 4 | + */ |
|
| 5 | 5 | class Article extends AppModel { |
| 6 | 6 | |
| 7 | 7 | public $hasMany = array('Comment', 'ExternalComment'); |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Attachment for testing |
|
| 4 | - */ |
|
| 3 | + * Attachment for testing |
|
| 4 | + */ |
|
| 5 | 5 | class Attachment extends AppModel { |
| 6 | 6 | |
| 7 | 7 | public $displayField = 'attachment'; |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Comment for testing |
|
| 4 | - */ |
|
| 3 | + * Comment for testing |
|
| 4 | + */ |
|
| 5 | 5 | class Comment extends AppModel { |
| 6 | 6 | |
| 7 | 7 | public $displayField = 'comment'; |