We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f12d933 commit 9343d3aCopy full SHA for 9343d3a
src/Console/ModelsCommand.php
@@ -620,7 +620,7 @@ public function getPropertiesFromMethods($model)
620
// methods that resemble mutators but aren't.
621
$reflections = array_filter($reflections, function (\ReflectionMethod $methodReflection) {
622
return !$methodReflection->isPrivate() && !(
623
- $methodReflection->getDeclaringClass()->getName() === \Illuminate\Database\Eloquent\Model::class && (
+ $methodReflection->getDeclaringClass()->getName() === Model::class && (
624
$methodReflection->getName() === 'setClassCastableAttribute' ||
625
$methodReflection->getName() === 'setEnumCastableAttribute'
626
)
0 commit comments