mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 02:45:58 +00:00
Code cleanup
This commit is contained in:
@@ -273,7 +273,7 @@ class PiggyBankController extends Controller
|
||||
// set all users piggy banks to zero:
|
||||
$this->piggyRepos->reset();
|
||||
|
||||
if (is_array($data)) {
|
||||
if (\is_array($data)) {
|
||||
foreach ($data as $order => $id) {
|
||||
$this->piggyRepos->setOrder((int)$id, $order + 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user