private function getReturnVariables()
 {
     $returnVars = $this->newMethod->returnVariables();
     $numVariables = count($returnVars);
     if ($numVariables === 0) {
         return;
     }
     $returnVariable = '$' . reset($returnVars);
     if ($numVariables > 1) {
         $returnVariable = 'list(' . $this->createVariableList($returnVars) . ')';
     }
     return $returnVariable . ' = ';
 }
 private function addReturnStatement()
 {
     $returnVars = $this->newMethod->returnVariables();
     $numVariables = count($returnVars);
     if ($numVariables === 0) {
         return;
     }
     $returnVariable = '$' . reset($returnVars);
     if ($numVariables > 1) {
         $returnVariable = 'array(' . $this->createVariableList($returnVars) . ')';
     }
     $this->newCode->appendBlankLine();
     $this->newCode->appendString('return ' . $returnVariable . ';');
 }