Apply suggestions from code review

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Michael Vogel 2021-05-29 14:32:31 +02:00 committed by GitHub
parent c3c6f3c8d3
commit 1ca58968f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -80,7 +80,7 @@ class Lists extends BaseApi
{
$request = self::getRequest([
'title' => '', // The title of the list to be updated.
'replies_policy' => '', // Enumerable oneOf followed list none.
'replies_policy' => '', // One of: "followed", "list", or "none".
]);
if (empty($request['title']) || empty($parameters['id'])) {