@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | { |
| 54 | 54 | $result = ''; |
| 55 | 55 | foreach ($attributes AS $elem => $value) { |
| 56 | - $result .= ' ' . $elem . '="' . $value . '" '; |
|
| 56 | + $result .= ' '.$elem.'="'.$value.'" '; |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - return '<' . $name . $result . '/>'; |
|
| 59 | + return '<'.$name.$result.'/>'; |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
@@ -73,8 +73,8 @@ discard block |
||
| 73 | 73 | */ |
| 74 | 74 | public static function mailto($name, $email, array $attributes = []) |
| 75 | 75 | { |
| 76 | - return static::openTag('a', array_merge($attributes, ['href' => 'mailto:' . $email])) . |
|
| 77 | - $name . |
|
| 76 | + return static::openTag('a', array_merge($attributes, ['href' => 'mailto:'.$email])). |
|
| 77 | + $name. |
|
| 78 | 78 | static::closeTag('a'); |
| 79 | 79 | } |
| 80 | 80 | |
@@ -93,10 +93,10 @@ discard block |
||
| 93 | 93 | { |
| 94 | 94 | $result = ''; |
| 95 | 95 | foreach ($attributes AS $key => $value) { |
| 96 | - $result .= ' ' . $key . '="' . $value . '"'; |
|
| 96 | + $result .= ' '.$key.'="'.$value.'"'; |
|
| 97 | 97 | } |
| 98 | 98 | |
| 99 | - return '<' . $name . $result . '>'; |
|
| 99 | + return '<'.$name.$result.'>'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | /** |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | */ |
| 112 | 112 | public static function closeTag($name) |
| 113 | 113 | { |
| 114 | - return '</' . $name . '>'; |
|
| 114 | + return '</'.$name.'>'; |
|
| 115 | 115 | } |
| 116 | 116 | |
| 117 | 117 | /** |