original_string: protected function resolveUserPreferences()
  	{
  		if ($this->user) {
  			return $this->user->preferences;
  		}
  
  		if (Auth::check()) {
  			return Auth::user()->preferences;
  		}
  
  		return null;
  	}
code: protected function resolveUserPreferences()
  	{
  		if ($this->user) {
  			return $this->user->preferences;
  		}
  
  		if (Auth::check()) {
  			return Auth::user()->preferences;
  		}
  
  		return null;
  	}
code_tokens: protected function resolveUserPreferences ( ) { if ( $ this -> user ) { return $ this -> user -> preferences ; } if ( Auth :: check ( ) ) { return Auth :: user ( ) -> preferences ; } return null ; }
docstring: Resolve the user's preferences tags.
  
  @return null/array
docstring_tokens: Resolve the user s preferences tags .