Unify code style for short syntax arrays
authorMatthias Schmidt <gravatronics@live.com>
Thu, 7 Apr 2016 16:28:49 +0000 (18:28 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Thu, 7 Apr 2016 16:28:49 +0000 (18:28 +0200)
files/lib/data/conversation/UserConversationList.class.php
files/lib/data/conversation/message/ViewableConversationMessageList.class.php

index 12ab873c3c4f704fe9dbde0ba06f9ad37b36ed23..628205ead86d527c08cd2513ffe0e3326756930f 100644 (file)
@@ -140,7 +140,7 @@ class UserConversationList extends ConversationList {
                if (!empty($this->objects)) {
                        $labels = $this->loadLabelAssignments();
                        
-                       $userIDs = [ ];
+                       $userIDs = [];
                        foreach ($this->objects as $conversationID => $conversation) {
                                if (isset($labels[$conversationID])) {
                                        foreach ($labels[$conversationID] as $label) {
index b89f39991edc5a14dace430bb3f51579cb598784..ebd42a63c5eaf1cbc4dcede2fe583f5f2b6e83fc 100644 (file)
@@ -79,7 +79,7 @@ class ViewableConversationMessageList extends ConversationMessageList {
                
                parent::readObjects();
                
-               $userIDs = [ ];
+               $userIDs = [];
                foreach ($this->objects as $message) {
                        if ($message->time > $this->maxPostTime) {
                                $this->maxPostTime = $message->time;