@@ -304,7 +304,6 @@ discard block |
||
| 304 | 304 | * |
| 305 | 305 | * @param boolean $runValidation whether to perform validation before saving the record. |
| 306 | 306 | * If the validation fails, the record will not be saved to database. |
| 307 | - * @param AnnotatedInterface $model if want to insert different model than set in constructor |
|
| 308 | 307 | * @return boolean whether the saving succeeds |
| 309 | 308 | * @since v1.0 |
| 310 | 309 | */ |
@@ -533,6 +532,7 @@ discard block |
||
| 533 | 532 | /** |
| 534 | 533 | * Take care of EventBeforeSave |
| 535 | 534 | * @see EventBeforeSave |
| 535 | + * @param AnnotatedInterface $model |
|
| 536 | 536 | * @return boolean |
| 537 | 537 | */ |
| 538 | 538 | private function _beforeSave($model, $event = null) |
@@ -552,6 +552,7 @@ discard block |
||
| 552 | 552 | /** |
| 553 | 553 | * Take care of EventAfterSave |
| 554 | 554 | * @see EventAfterSave |
| 555 | + * @param AnnotatedInterface $model |
|
| 555 | 556 | */ |
| 556 | 557 | private function _afterSave($model, $event = null) |
| 557 | 558 | { |