The method getAttributes() does not exist on Backpack\CRUD\app\Librar...MacroableWithAttributes. Since you implemented __call, consider adding a @method annotation.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation