Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

Commit dc80687

Browse files
authored
Merge pull request #12 from modulusphp/feature/maintenance-update
Feature/maintenance update
2 parents 1375a35 + 632981c commit dc80687

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

Mail.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,15 +181,16 @@ public function small(string $message = null) : Mail
181181
*
182182
* @param string $message
183183
* @param string $link
184+
* @param string $align
184185
* @param string $class
185186
* @return Mail
186187
*/
187-
public function action(string $message, string $link, string $class = 'btn btn-primary') : Mail
188+
public function action(string $message, string $link, string $align = 'left', string $class = 'btn btn-primary') : Mail
188189
{
189190
$this->body .= "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"{$class}\">
190191
<tbody>
191192
<tr>
192-
<td align=\"left\">
193+
<td align=\"{$align}\">
193194
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
194195
<tbody>
195196
<tr>

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "modulusphp/utility",
3-
"description": "Utility component for modulusPHP",
4-
"version": "1.9.4.2",
3+
"description": "Utility component for Modulus",
4+
"version": "1.9.4.3",
55
"license": "MIT",
66
"type": "package",
77
"authors": [{

0 commit comments

Comments
 (0)