Skip to content

Commit d37af62

Browse files
committed
This closes #1, closes #2
1 parent 37c0a33 commit d37af62

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"Structured Data",
99
"markup",
1010
"google",
11-
"Googles Structured Data Testing Tool",
11+
"Google's Structured Data Testing Tool",
1212
"API"
1313
],
1414
"homepage": "https://github.com/padosoft/laravel-google-structured-data-testing-tool",

src/GoogleMarkupHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function sendRequest($optArray)
9090
$this->command->line("cURL info: " . print_r($information, true));
9191
$this->command->line("Response: " . get_var_dump_output($response));
9292
return false;
93-
} elseif ($this->command->option('verbose')==true) {
93+
} elseif ($this->command->option('verbose')=="true") {
9494
$this->command->line("cURL opt array:");
9595
$this->command->line(get_var_dump_output($optArray));
9696
$this->command->line("cURL info: " . print_r($information, true));

src/GoogleStructuredDataTestTool.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
use Illuminate\Console\Command;
66
use Config;
7-
use Illuminate\Support\Facades\Artisan;
8-
97

108
class GoogleStructuredDataTestTool extends Command
119
{
@@ -108,7 +106,7 @@ private function hardWork($argument, $option)
108106
/**
109107
* @param $mail
110108
* @param $nomailok
111-
* @param $tuttoOk
109+
* @param boolean $tuttoOk
112110
*/
113111
private function notifyResult($mail, $nomailok, $tuttoOk)
114112
{

src/MailHelper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function sendEmail($tuttoOk, $mail, $vul)
5454
Mail::send(
5555
Config::get('laravel-google-structured-data-testing-tool.mailViewName'),
5656
['vul' => $vul],
57-
function ($message) use ($mail, $soggetto) {
57+
function (\Illuminate\Mail\Message $message) use ($mail, $soggetto) {
5858
$message->from(
5959
Config::get('laravel-google-structured-data-testing-tool.mailFrom'),
6060
Config::get('laravel-google-structured-data-testing-tool.mailFromName')

0 commit comments

Comments
 (0)