mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06: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
|
* @param string $key
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
private function __flatten($results, $key = null) {
|
private static function __flatten($results, $key = null) {
|
||||||
$stack = array();
|
$stack = array();
|
||||||
foreach ($results as $k => $r) {
|
foreach ($results as $k => $r) {
|
||||||
$id = $k;
|
$id = $k;
|
||||||
|
|
Loading…
Add table
Reference in a new issue