mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix space between function + parenthesis.
This commit is contained in:
parent
689745d705
commit
18e282f3aa
1 changed files with 2 additions and 2 deletions
|
@ -977,7 +977,7 @@ class Model extends Object implements CakeEventListener {
|
||||||
$plugin = null;
|
$plugin = null;
|
||||||
|
|
||||||
if (is_numeric($assoc)) {
|
if (is_numeric($assoc)) {
|
||||||
unset ($this->{$type}[$assoc]);
|
unset($this->{$type}[$assoc]);
|
||||||
$assoc = $value;
|
$assoc = $value;
|
||||||
$value = array();
|
$value = array();
|
||||||
|
|
||||||
|
@ -1153,7 +1153,7 @@ class Model extends Object implements CakeEventListener {
|
||||||
|
|
||||||
foreach ($fieldSet as $fieldName => $fieldValue) {
|
foreach ($fieldSet as $fieldName => $fieldValue) {
|
||||||
if (isset($this->validationErrors[$fieldName])) {
|
if (isset($this->validationErrors[$fieldName])) {
|
||||||
unset ($this->validationErrors[$fieldName]);
|
unset($this->validationErrors[$fieldName]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($modelName === $this->alias) {
|
if ($modelName === $this->alias) {
|
||||||
|
|
Loading…
Reference in a new issue