mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Fixing strict errors in Set class.
This commit is contained in:
parent
df21d19c4c
commit
cc81f6d062
1 changed files with 1 additions and 1 deletions
|
@ -1017,7 +1017,7 @@ class Set {
|
|||
* @param string $key
|
||||
* @return array
|
||||
*/
|
||||
private function __flatten($results, $key = null) {
|
||||
private static function __flatten($results, $key = null) {
|
||||
$stack = array();
|
||||
foreach ($results as $k => $r) {
|
||||
$id = $k;
|
||||
|
|
Loading…
Add table
Reference in a new issue