Skip to content
Code-Schnipsel Gruppen Projekte
Commit 99e9424a erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

style: code style

Übergeordneter c8675fa6
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
...@@ -20,7 +20,7 @@ function ($attributes) { ...@@ -20,7 +20,7 @@ function ($attributes) {
try { try {
$amount = 1; $amount = 1;
$inviteCodes = array(); $inviteCodes = [];
if (!empty($attributes['amount'])) { if (!empty($attributes['amount'])) {
$amount = (int)$attributes['amount']; $amount = (int)$attributes['amount'];
...@@ -35,9 +35,9 @@ function ($attributes) { ...@@ -35,9 +35,9 @@ function ($attributes) {
QUI::getLocale()->get( QUI::getLocale()->get(
'quiqqer/invitecode', 'quiqqer/invitecode',
'message.ajax.create.error', 'message.ajax.create.error',
array( [
'error' => $Exception->getMessage() 'error' => $Exception->getMessage()
) ]
) )
); );
...@@ -67,6 +67,6 @@ function ($attributes) { ...@@ -67,6 +67,6 @@ function ($attributes) {
return true; return true;
}, },
array('attributes'), ['attributes'],
'Permission::checkAdminUser' 'Permission::checkAdminUser'
); );
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren