mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Formatting issues
This commit is contained in:
parent
2235a0e677
commit
1d9bce34d4
1 changed files with 8 additions and 8 deletions
|
@ -5000,7 +5000,7 @@ class CustomArticle extends AppModel {
|
||||||
* @package Cake.Test.Case.Model
|
* @package Cake.Test.Case.Model
|
||||||
*/
|
*/
|
||||||
class ModelWithRelations extends CakeTestModel {
|
class ModelWithRelations extends CakeTestModel {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -5010,13 +5010,13 @@ class ModelWithRelations extends CakeTestModel {
|
||||||
*/
|
*/
|
||||||
class ModelRelated extends CakeTestModel {
|
class ModelRelated extends CakeTestModel {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* afterFind callback method
|
* afterFind callback method
|
||||||
*
|
*
|
||||||
* @param array $results
|
* @param array $results
|
||||||
* @param boolean $primary
|
* @param boolean $primary
|
||||||
* @return array Modified $results
|
* @return array Modified $results
|
||||||
*/
|
*/
|
||||||
public function afterFind($results, $primary = false) {
|
public function afterFind($results, $primary = false) {
|
||||||
foreach ($results as $key => $result) {
|
foreach ($results as $key => $result) {
|
||||||
$results[$key][$this->alias]['name'] = 'Successfuly changed in AfterFind';
|
$results[$key][$this->alias]['name'] = 'Successfuly changed in AfterFind';
|
||||||
|
|
Loading…
Reference in a new issue