Skip to content

Commit 9343d3a

Browse files
committed
CS
1 parent f12d933 commit 9343d3a

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
@@ -620,7 +620,7 @@ public function getPropertiesFromMethods($model)
620620
// methods that resemble mutators but aren't.
621621
$reflections = array_filter($reflections, function (\ReflectionMethod $methodReflection) {
622622
return !$methodReflection->isPrivate() && !(
623-
$methodReflection->getDeclaringClass()->getName() === \Illuminate\Database\Eloquent\Model::class && (
623+
$methodReflection->getDeclaringClass()->getName() === Model::class && (
624624
$methodReflection->getName() === 'setClassCastableAttribute' ||
625625
$methodReflection->getName() === 'setEnumCastableAttribute'
626626
)

0 commit comments

Comments
 (0)