diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/BlubberThread.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/BlubberThread.php')
| -rw-r--r-- | lib/models/BlubberThread.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/models/BlubberThread.php b/lib/models/BlubberThread.php index d0f2f89..68c5470 100644 --- a/lib/models/BlubberThread.php +++ b/lib/models/BlubberThread.php @@ -249,7 +249,8 @@ class BlubberThread extends SimpleORMap implements PrivacyObject { $query = SQLQuery::table('blubber_threads')->join( 'blubber_comments', - 'blubber_comments', 'blubber_threads.thread_id = blubber_comments.thread_id', + 'blubber_comments', + 'blubber_threads.thread_id = blubber_comments.thread_id', 'LEFT JOIN' ); @@ -362,7 +363,7 @@ class BlubberThread extends SimpleORMap implements PrivacyObject $threads = array_map(function ($thread) { return self::upgradeThread($thread); }, $threads); - $threads = array_filter($threads, function ($t) use ($user_id){ + $threads = array_filter($threads, function ($t) use ($user_id) { return $t->isVisibleInStream() && $t->isReadable($user_id); }); return $threads; |
