ReviewOS

also looking at this

ci-on/laravel-log-reader

Apply fixes from StyleCI

#4
Merged simoebenhida wants to merge analysis-zR9Rb7 into master
5 files +20 -20
src/Reader/LogSectionReader.phpmodified+4-3
Changes to src/Reader/LogSectionReader.php
@@ -1,5 +1,6 @@
11<?php
2declare(strict_types = 1);
2
3declare(strict_types=1);
34
45namespace Cion\LaravelLogReader\Reader;
56
@@ -35,7 +36,7 @@ class LogSectionReader
3536 $this->extra = collect($section['extra']);
3637 }
3738
38 public function read() : LogSectionReader
39 public function read() : self
3940 {
4041 $this->retrieveSectionInformations();
4142
@@ -100,7 +101,7 @@ class LogSectionReader
100101 'date' => $this->date,
101102 'type' => $this->type,
102103 'message' => $this->message,
103 'extra' => $this->extra->toArray()
104 'extra' => $this->extra->toArray(),
104105 ];
105106 }
106107}