From 3ae113b897ba7bfce02996dd75530a6151817e9f Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 23 Mar 2022 23:28:45 +0000 Subject: [PATCH] Apply fixes from StyleCI [ci skip] [skip ci] --- framework/core/src/Post/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Post/Post.php b/framework/core/src/Post/Post.php index b07dc989d..8c508aa9a 100644 --- a/framework/core/src/Post/Post.php +++ b/framework/core/src/Post/Post.php @@ -99,7 +99,7 @@ class Post extends AbstractModel $post->number = new Expression('('.$db ->table('posts', 'pn') ->whereRaw('pn.discussion_id = '.intval($post->discussion_id)) - ->select($db->raw('max('. $db->getTablePrefix() .'pn.number) + 1')) + ->select($db->raw('max('.$db->getTablePrefix().'pn.number) + 1')) ->toSql() .')'); });