original_string: public function update(User $user, $option, $categoryKey)
      {
          if (!empty($option)) {
              return $user->hasPermission('options-update-' . $categoryKey);
          }
          return false;
      }
code: public function update(User $user, $option, $categoryKey)
      {
          if (!empty($option)) {
              return $user->hasPermission('options-update-' . $categoryKey);
          }
          return false;
      }
code_tokens: public function update ( User $ user , $ option , $ categoryKey ) { if ( ! empty ( $ option ) ) { return $ user -> hasPermission ( 'options-update-' . $ categoryKey ) ; } return false ; }
docstring: Policy for updating options for specified category
  
  @param User   $user        User trying to do it
  @param Option $option      Option class name
  @param String $categoryKey option category
  
  @return bool
docstring_tokens: Policy for updating options for specified category