protected function renderTraitsCode() { if ($this->traits === []) { return ''; } return ' use ' . implode(', ', $this->traits) . ";\n\n"; }