mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:09:24 +08:00

Casting an object to an array does not have the intended effect of wrapping the object in an array. Instead we need to explicitly check if the returned value is an array or not.
Flarum Core
This repository contains Flarum's core code. If you want to set up a forum, visit the main Flarum repository.
Contributing
Flarum is open-source and we would love your help building it! Please read the Contributing Guide to learn how you can help.
Description
Languages
PHP
60.7%
TypeScript
26%
JavaScript
7.9%
Less
4.4%
Blade
0.8%
Other
0.2%