aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-02-28 12:26:24 +0100
committerGravatar GitHub <noreply@github.com> 2021-02-28 12:26:24 +0100
commit947e918f05d70d5dce4efa4ef403e593581c3fa9 (patch)
treee66ef1ffe8a6cc0ffbea1bff1791588f72879637 /app/Controllers/userController.php
parentbf2718cada964fba66d8497592abcb73cb9520ba (diff)
Travis: Enforce phpcs line length + whitespace (#3488)
* Update Travis line length * Also check whitespace in CSS files * Fix line length ext.php * More syntax, string templates * Fix exclude-pattern * Test JS files as well
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 06c9ebc04..ec5e348c2 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -71,8 +71,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
Minz_Request::good(_t('feedback.profile.updated'), array('c' => 'index', 'a' => 'index'));
}
} else {
- Minz_Request::bad(_t('feedback.user.updated.error', $username),
- array('c' => 'user', 'a' => 'manage'));
+ Minz_Request::bad(_t('feedback.user.updated.error', $username), [ 'c' => 'user', 'a' => 'manage' ]);
}
}
}
@@ -140,8 +139,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
Minz_Request::good(_t('feedback.profile.updated'), array('c' => 'index', 'a' => 'index'));
}
} else {
- Minz_Request::bad(_t('feedback.profile.error'),
- array('c' => 'user', 'a' => 'profile'));
+ Minz_Request::bad(_t('feedback.profile.error'), [ 'c' => 'user', 'a' => 'profile' ]);
}
}
}