From: Matthias Schmidt Date: Sat, 30 Jul 2016 14:33:20 +0000 (+0200) Subject: Remove trailing commas X-Git-Tag: 3.0.0_Beta_1~871 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=457cffe63da7d5b4d64f4db10ec299563221ba8c;p=GitHub%2FWoltLab%2FWCF.git Remove trailing commas --- diff --git a/wcfsetup/install/files/lib/system/box/PageCommentListBoxController.class.php b/wcfsetup/install/files/lib/system/box/PageCommentListBoxController.class.php index f97f0823c2..a728be8e46 100644 --- a/wcfsetup/install/files/lib/system/box/PageCommentListBoxController.class.php +++ b/wcfsetup/install/files/lib/system/box/PageCommentListBoxController.class.php @@ -39,7 +39,7 @@ class PageCommentListBoxController extends AbstractDatabaseObjectListBoxControll 'commentObjectTypeID' => CommentHandler::getInstance()->getObjectTypeID('com.woltlab.wcf.page'), 'lastCommentTime' => $this->objectList->getMinCommentTime(), 'pageID' => RequestHandler::getInstance()->getActiveRequest()->getPageID(), - 'likeData' => ((MODULE_LIKE && $this->objectList) ? $this->objectList->getLikeData() : []), + 'likeData' => ((MODULE_LIKE && $this->objectList) ? $this->objectList->getLikeData() : []) ]); } diff --git a/wcfsetup/install/files/lib/system/search/acp/ArticleACPSearchResultProvider.class.php b/wcfsetup/install/files/lib/system/search/acp/ArticleACPSearchResultProvider.class.php index 7aef52b5bd..f5dec24154 100644 --- a/wcfsetup/install/files/lib/system/search/acp/ArticleACPSearchResultProvider.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/ArticleACPSearchResultProvider.class.php @@ -30,7 +30,7 @@ class ArticleACPSearchResultProvider implements IACPSearchResultProvider { $contentList->readObjects(); foreach ($contentList as $content) { $results[] = new ACPSearchResult($content->title, LinkHandler::getInstance()->getLink('ArticleEdit', [ - 'id' => $content->articleID, + 'id' => $content->articleID ])); } diff --git a/wcfsetup/install/files/lib/system/search/acp/BoxACPSearchResultProvider.class.php b/wcfsetup/install/files/lib/system/search/acp/BoxACPSearchResultProvider.class.php index da525df0fc..fad46c11db 100644 --- a/wcfsetup/install/files/lib/system/search/acp/BoxACPSearchResultProvider.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/BoxACPSearchResultProvider.class.php @@ -30,7 +30,7 @@ class BoxACPSearchResultProvider implements IACPSearchResultProvider { $boxList->readObjects(); foreach ($boxList as $box) { $results[] = new ACPSearchResult($box->name, LinkHandler::getInstance()->getLink('BoxEdit', [ - 'id' => $box->boxID, + 'id' => $box->boxID ])); } diff --git a/wcfsetup/install/files/lib/system/search/acp/PageACPSearchResultProvider.class.php b/wcfsetup/install/files/lib/system/search/acp/PageACPSearchResultProvider.class.php index 040408f711..d910807a52 100644 --- a/wcfsetup/install/files/lib/system/search/acp/PageACPSearchResultProvider.class.php +++ b/wcfsetup/install/files/lib/system/search/acp/PageACPSearchResultProvider.class.php @@ -30,7 +30,7 @@ class PageACPSearchResultProvider implements IACPSearchResultProvider { $pageList->readObjects(); foreach ($pageList as $page) { $results[] = new ACPSearchResult($page->name, LinkHandler::getInstance()->getLink('PageEdit', [ - 'id' => $page->pageID, + 'id' => $page->pageID ])); }