mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
CS
This commit is contained in:
@@ -620,7 +620,7 @@ class ModelsCommand extends Command
|
|||||||
// methods that resemble mutators but aren't.
|
// methods that resemble mutators but aren't.
|
||||||
$reflections = array_filter($reflections, function (\ReflectionMethod $methodReflection) {
|
$reflections = array_filter($reflections, function (\ReflectionMethod $methodReflection) {
|
||||||
return !$methodReflection->isPrivate() && !(
|
return !$methodReflection->isPrivate() && !(
|
||||||
$methodReflection->getDeclaringClass()->getName() === \Illuminate\Database\Eloquent\Model::class && (
|
$methodReflection->getDeclaringClass()->getName() === Model::class && (
|
||||||
$methodReflection->getName() === 'setClassCastableAttribute' ||
|
$methodReflection->getName() === 'setClassCastableAttribute' ||
|
||||||
$methodReflection->getName() === 'setEnumCastableAttribute'
|
$methodReflection->getName() === 'setEnumCastableAttribute'
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user