Skip to content

Commit

Permalink
updated pint and ran formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Smef committed Jul 30, 2024
1 parent 497e380 commit 00b67a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"require-dev": {
"orchestra/testbench": "^9.0",
"mockery/mockery": "^1.5.1",
"laravel/pint": "^1.1"
"laravel/pint": "^1.17"
},
"extra": {
"laravel": {
Expand Down
4 changes: 2 additions & 2 deletions src/Database/Eloquent/FMModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public static function createModelsFromRecordSet(BaseCollection $records): Colle
// return an empty Eloquent/Collection (or the custom collection specified in the model) if an empty collection was
// passed in.
if ($records->count() === 0) {
return (new static())->newCollection();
return (new static)->newCollection();
}

// Records passed in weren't empty, so process the records
Expand All @@ -159,7 +159,7 @@ public static function createModelsFromRecordSet(BaseCollection $records): Colle
});

// return the filled Eloquent/Collection (or the custom collection specified in the model)
return (new static())->newCollection($mappedRecords->all());
return (new static)->newCollection($mappedRecords->all());
}

/** Fill in data for this existing model with record data from FileMaker
Expand Down

0 comments on commit 00b67a2

Please sign in to comment.