From 99e9424a01922dfec0182ff01768df1cb6ee29d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrick=20M=C3=BCller?= <p.mueller@pcsg.de>
Date: Tue, 28 Aug 2018 15:44:19 +0200
Subject: [PATCH] style: code style

---
 ajax/create.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/ajax/create.php b/ajax/create.php
index 9f9d08e..6bbe7d5 100644
--- a/ajax/create.php
+++ b/ajax/create.php
@@ -20,7 +20,7 @@ function ($attributes) {
 
         try {
             $amount      = 1;
-            $inviteCodes = array();
+            $inviteCodes = [];
 
             if (!empty($attributes['amount'])) {
                 $amount = (int)$attributes['amount'];
@@ -35,9 +35,9 @@ function ($attributes) {
                 QUI::getLocale()->get(
                     'quiqqer/invitecode',
                     'message.ajax.create.error',
-                    array(
+                    [
                         'error' => $Exception->getMessage()
-                    )
+                    ]
                 )
             );
 
@@ -67,6 +67,6 @@ function ($attributes) {
 
         return true;
     },
-    array('attributes'),
+    ['attributes'],
     'Permission::checkAdminUser'
 );
-- 
GitLab