Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
Maxime | a748be45ae | |
Maxime | e75c29f6ac | |
Maxime | b2aebb75b0 | |
Maxime | 1aaccd43cb |
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2023 BlUESQUARE COMPUTING
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
|
@ -8,7 +8,7 @@ Ajouter à `composer.json` :
|
|||
|
||||
```
|
||||
"require": {
|
||||
"bluesquare/laravel-mail-templates": "^1.2"
|
||||
"bluesquare/laravel-mail-templates": "^1.4"
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"email"
|
||||
],
|
||||
"homepage": "https://git.bluesquare.io/bluesquare/laravel-mail-templates",
|
||||
"license": "proprietary",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Bluesquare",
|
||||
|
@ -18,7 +18,7 @@
|
|||
"role": "Developers"
|
||||
}
|
||||
],
|
||||
"minimum-stability": "dev",
|
||||
"minimum-stability": "stable",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Bluesquare\\MailTemplates\\": "src/"
|
||||
|
|
|
@ -97,6 +97,8 @@ class MailTemplate implements \JsonSerializable
|
|||
*/
|
||||
public function recipients(array $recipients): MailTemplate
|
||||
{
|
||||
$this->recipients = [];
|
||||
|
||||
if (! empty($recipients)) {
|
||||
foreach ($recipients as $recipient) {
|
||||
if (!empty($recipient[0]) && is_string($recipient[0])) {
|
||||
|
|
Loading…
Reference in New Issue