[11.x] Remove redundant getDefaultNamespace
method in some classes (class, interface and trait commands)
#21911
Loading