mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix strict errors.
This commit is contained in:
parent
929a40364f
commit
5936fa5930
1 changed files with 2 additions and 1 deletions
|
@ -109,7 +109,8 @@ abstract class ObjectCollection {
|
|||
$options[$opt] = $event->{$opt};
|
||||
}
|
||||
}
|
||||
$callback = array_pop(explode('.', $event->name()));
|
||||
$parts = explode('.', $event->name());
|
||||
$callback = array_pop($parts);
|
||||
}
|
||||
$options = array_merge(
|
||||
array(
|
||||
|
|
Loading…
Reference in a new issue