1
0
mirror of https://github.com/flarum/core.git synced 2025-10-13 07:54:25 +02:00

Replace a few forgotten obsolete helpers

- Apparently, I forgot that `array_flatten` comes from Laravel. :)
- When I did this previously, I did not search the views directory.
This commit is contained in:
Franz Liedke
2020-07-24 17:27:59 +02:00
parent 3b39c212e0
commit e4077ab4ad
5 changed files with 14 additions and 12 deletions

View File

@@ -267,7 +267,7 @@ class Extension implements Arrayable
$extenders = [$extenders];
}
return array_flatten($extenders);
return Arr::flatten($extenders);
}
/**