File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ public function __construct(
1515
1616 public static function fromArray (array $ data ): self
1717 {
18- if (!is_subclass_of ($ data ['model ' ], Model::class)) {
18+ if (! is_subclass_of ($ data ['model ' ], Model::class)) {
1919 throw new Exception ('The provided model, parent must be an instance of Illuminate\Database\Eloquent\Model ' );
2020 }
2121
Original file line number Diff line number Diff line change 22
33namespace NaimSolong \DataExtractor ;
44
5- use Illuminate \Database \Eloquent \ModelNotFoundException ;
65use NaimSolong \DataExtractor \Builder \ExtractBuilder ;
76
87class Extract
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public function set(int|string $value): self
5353 return $ instruction ->name === $ value ;
5454 });
5555
56- if (count ($ filteredInstructions ) > 0 ) {
56+ if (count ($ filteredInstructions ) > 0 ) {
5757 $ this ->instruction = $ filteredInstructions [0 ];
5858
5959 return $ this ;
You can’t perform that action at this time.
0 commit comments