From 3b9cda275dd8c41850064b0eb842571f262a0cc0 Mon Sep 17 00:00:00 2001 From: Marick Date: Mon, 10 Sep 2018 12:45:41 +0200 Subject: [PATCH 1/2] Revert "change namespace" This reverts commit 7e86e9fc33bab93687edb939b3425a61837484f2. --- composer.json | 6 +++--- src/Config.php | 2 +- src/Email.php | 2 +- src/EmailComposer.php | 2 +- src/Encrypter.php | 2 +- src/HasEncryptedAttributes.php | 2 +- src/LaravelDatabaseEmailsServiceProvider.php | 2 +- src/MailableReader.php | 2 +- src/Preparer.php | 2 +- src/ResendEmailsCommand.php | 2 +- src/RetryFailedEmailsCommand.php | 2 +- src/SendEmailsCommand.php | 2 +- src/Sender.php | 2 +- src/Store.php | 2 +- src/Validator.php | 2 +- tests/MailableReaderTest.php | 2 +- tests/SendEmailsCommandTest.php | 2 +- tests/TestCase.php | 4 ++-- tests/ValidatorTest.php | 2 +- 19 files changed, 22 insertions(+), 22 deletions(-) diff --git a/composer.json b/composer.json index 1e4e728..7baa82b 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "stackkit/laravel-database-emails", + "name": "buildcode/laravel-database-emails", "description": "Store and send e-mails using the database", "license": "MIT", "authors": [ @@ -10,7 +10,7 @@ ], "autoload": { "psr-4": { - "Stackkit\\LaravelDatabaseEmails\\": "src/" + "Buildcode\\LaravelDatabaseEmails\\": "src/" } }, "autoload-dev": { @@ -21,7 +21,7 @@ "extra": { "laravel": { "providers": [ - "Stackkit\\LaravelDatabaseEmails\\LaravelDatabaseEmailsServiceProvider" + "Buildcode\\LaravelDatabaseEmails\\LaravelDatabaseEmailsServiceProvider" ] } }, diff --git a/src/Config.php b/src/Config.php index 8e81d61..a31e727 100644 --- a/src/Config.php +++ b/src/Config.php @@ -1,6 +1,6 @@ Date: Mon, 10 Sep 2018 12:46:07 +0200 Subject: [PATCH 2/2] fix incorrect attribute --- src/Email.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Email.php b/src/Email.php index ee0a2b5..ac20625 100644 --- a/src/Email.php +++ b/src/Email.php @@ -204,7 +204,7 @@ public function getSubject() */ public function getSubjectAttribute() { - return $this->view; + return $this->subject; } /**