Skip to content

Commit 00b67a2

Browse files
committed
updated pint and ran formatting
1 parent 497e380 commit 00b67a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"require-dev": {
3434
"orchestra/testbench": "^9.0",
3535
"mockery/mockery": "^1.5.1",
36-
"laravel/pint": "^1.1"
36+
"laravel/pint": "^1.17"
3737
},
3838
"extra": {
3939
"laravel": {

src/Database/Eloquent/FMModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public static function createModelsFromRecordSet(BaseCollection $records): Colle
150150
// return an empty Eloquent/Collection (or the custom collection specified in the model) if an empty collection was
151151
// passed in.
152152
if ($records->count() === 0) {
153-
return (new static())->newCollection();
153+
return (new static)->newCollection();
154154
}
155155

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

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

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

0 commit comments

Comments
 (0)