@@ -54,22 +54,22 @@ |
||
54 | 54 | * @param string $target |
55 | 55 | * @return HtmlEmoji |
56 | 56 | */ |
57 | - public function asLink($href=NULL,$target=NULL) { |
|
57 | + public function asLink($href=NULL, $target=NULL) { |
|
58 | 58 | if (isset($href)) { |
59 | 59 | $_target=""; |
60 | - if(isset($target)) |
|
60 | + if (isset($target)) |
|
61 | 61 | $_target="target='{$target}'"; |
62 | - $this->wrap("<a href='" . $href . "' {$_target}>", "</a>"); |
|
62 | + $this->wrap("<a href='".$href."' {$_target}>", "</a>"); |
|
63 | 63 | } |
64 | 64 | return $this->addToProperty("class", "link"); |
65 | 65 | } |
66 | 66 | |
67 | 67 | public function addLabel($label, $before=false, $emoji=null) { |
68 | - if($before) |
|
68 | + if ($before) |
|
69 | 69 | $this->wrap($label); |
70 | 70 | else |
71 | 71 | $this->wrap("", $label); |
72 | - if($emoji!=null) |
|
72 | + if ($emoji!=null) |
|
73 | 73 | $this->setEmoji($emoji); |
74 | 74 | return $this; |
75 | 75 | } |