Skip to content

Commit 2c643f0

Browse files
authored
fix return datatype
1 parent 4f1539b commit 2c643f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/ModelsCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ public function getPropertiesFromMethods($model)
822822
if ($this->write_model_relation_exists_properties) {
823823
$this->setProperty(
824824
Str::snake($method) . '_exists',
825-
'int|null',
825+
'bool|null',
826826
true,
827827
false
828828
// What kind of comments should be added to the relation count here?

0 commit comments

Comments
 (0)