Continued:

- avoided else() block which reduces code complexibility
- used more x()
- added curly braces
- added known type-hints

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2018-05-10 14:48:27 +02:00
parent e0a07d5f27
commit 57e668d9e0
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
8 changed files with 48 additions and 38 deletions

View file

@ -1120,7 +1120,7 @@ function builtin_activity_puller($item, &$conv_responses) {
$url = '<a href="'. $url . '"'. $sparkle .'>' . htmlentities($item['author-name']) . '</a>';
if (!$item['thr-parent']) {
if (!x($item, 'thr-parent')) {
$item['thr-parent'] = $item['parent-uri'];
}