original_string: protected function setUser(array $userData, & $user = null)
      {
          // Generic birthdate parsing
          $user->birthday = date('Y-m-d H:i:s', strtotime($user->birthday));
  
          // If no external user is passed set as current user
          if (isset($user)) {
              $this->user = & $user;
          }
      }
code: protected function setUser(array $userData, & $user = null)
      {
          // Generic birthdate parsing
          $user->birthday = date('Y-m-d H:i:s', strtotime($user->birthday));
  
          // If no external user is passed set as current user
          if (isset($user)) {
              $this->user = & $user;
          }
      }
code_tokens: protected function setUser ( array $ userData , & $ user = null ) { // Generic birthdate parsing $ user -> birthday = date ( 'Y-m-d H:i:s' , strtotime ( $ user -> birthday ) ) ; // If no external user is passed set as current user if ( isset ( $ user ) ) { $ this -> user = & $ user ; } }
docstring: Fill object User
  
  @param array $userData Answer of social network
  @param mixed $user Pointer to user object for filling
docstring_tokens: Fill object User