Skip to content

Commit

Permalink
PHPDoc and code style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Jun 15, 2016
1 parent 413e641 commit 04e83a8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/classes/TimelineEvent.class.php
Expand Up @@ -69,16 +69,17 @@ public function format_timestamp( $p_timestamp ) {

/**
* Returns html string representing the beginning block of a timeline entry
* @param string $p_action_icon Icon name for Font Awesome
* @return string
*/
public function html_start( $t_action_icon = 'fa-check') {
public function html_start( $p_action_icon = 'fa-check') {

This comment has been minimized.

Copy link
@badfiles

badfiles Jun 15, 2016

Contributor

You forgot a space after 'fa-check'

This comment has been minimized.

Copy link
@atrol

atrol Jun 16, 2016

Author Member

Thanks, fixed c76a7d9

$t_avatar = Avatar::get( $this->user_id, 40 );
$t_html = '<div class="profile-activity clearfix">';

if( !empty( $t_avatar ) ) {
$t_html .= '<img class="pull-left" src="' . $t_avatar->image . '"/>';
} else {
$t_html .= '<i class="pull-left thumbicon fa ' . $t_action_icon . ' btn-primary no-hover"></i>';
$t_html .= '<i class="pull-left thumbicon fa ' . $p_action_icon . ' btn-primary no-hover"></i>';
}
return $t_html;
}
Expand Down

0 comments on commit 04e83a8

Please sign in to comment.