File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
tests/Console/ModelsCommand
GenericsSyntaxDisabled/__snapshots__ Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -822,7 +822,7 @@ public function getPropertiesFromMethods($model)
822
822
if ($ this ->write_model_relation_exists_properties ) {
823
823
$ this ->setProperty (
824
824
Str::snake ($ method ) . '_exists ' ,
825
- 'int |null ' ,
825
+ 'bool |null ' ,
826
826
true ,
827
827
false
828
828
// What kind of comments should be added to the relation count here?
Original file line number Diff line number Diff line change 16
16
* @property-read int|null $regular_belongs_to_many_count
17
17
* @property-read bool|null $regular_belongs_to_many_exists
18
18
* @property-read \Illuminate\Database\Eloquent\Collection|Simple[] $regularHasMany
19
+ * @property-read int|null $regular_has_many_count
19
20
* @property-read bool|null $regular_has_many_exists
20
21
* @method static \Illuminate\Database\Eloquent\Builder<static>|Simple newModelQuery()
21
22
* @method static \Illuminate\Database\Eloquent\Builder<static>|Simple newQuery()
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ public function nullableMixedWithForeignKeyConstraint(): BelongsTo
162
162
* @property-read bool|null $relation_morphed_by_many_exists
163
163
* @property-read \Illuminate\Database\Eloquent\Collection<int, Simple> $relationSampleRelationType
164
164
* @property-read int|null $relation_sample_relation_type_count
165
- * @property-read boo |null $relation_sample_relation_type_exists
165
+ * @property-read bool |null $relation_sample_relation_type_exists
166
166
* @property-read Model|\Eloquent $relationSampleToAnyMorphedRelationType
167
167
* @property-read \Illuminate\Database\Eloquent\Collection<int, Simple> $relationSampleToAnyRelationType
168
168
* @property-read int|null $relation_sample_to_any_relation_type_count
You can’t perform that action at this time.
0 commit comments