Skip to content

Commit 2433943

Browse files
authored
Merge pull request #9 from codestudiollc/analysis-zdWd4L
Apply fixes from StyleCI
2 parents df5455f + 94ee1ce commit 2433943

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/Console/Kernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Studio\Totem\Console;
44

5-
use Studio\Totem\Events\Tasks\Executing;
65
use Studio\Totem\Events\Tasks\Executed;
6+
use Studio\Totem\Events\Tasks\Executing;
77
use Studio\Totem\Contracts\TaskInterface;
88
use Illuminate\Console\Scheduling\Schedule;
99
use Illuminate\Contracts\Events\Dispatcher;

src/Events/Tasks/Executed.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
namespace Studio\Totem\Events\Tasks;
44

5-
use Studio\Totem\Events\Event;
65
use Studio\Totem\Task;
6+
use Studio\Totem\Events\Event;
77

88
class Executed extends Event
99
{
@@ -15,8 +15,7 @@ public function __construct(Task $task, $event)
1515

1616
$task->results()->create([
1717
'duration' => $time_elapsed_secs * 1000,
18-
'result' => file_get_contents(storage_path('logs/schedule-'.sha1($event->mutexName()).'.log'))
18+
'result' => file_get_contents(storage_path('logs/schedule-'.sha1($event->mutexName()).'.log')),
1919
]);
20-
2120
}
2221
}

src/TaskResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TaskResult extends Model
1414
];
1515

1616
protected $dates = [
17-
'ran_at'
17+
'ran_at',
1818
];
1919

2020
public function task()

0 commit comments

Comments
 (0)