original_string: public function downloadPlugin($name, $hash, $installation = false)
      {
          $fileCode = $name . $hash;
          $this->requestServerFile('plugin/get', $fileCode, $hash, [
              'name' => $name,
              'installation' => $installation ? 1 : 0
          ]);
      }
code: public function downloadPlugin($name, $hash, $installation = false)
      {
          $fileCode = $name . $hash;
          $this->requestServerFile('plugin/get', $fileCode, $hash, [
              'name' => $name,
              'installation' => $installation ? 1 : 0
          ]);
      }
code_tokens: public function downloadPlugin ( $ name , $ hash , $ installation = false ) { $ fileCode = $ name . $ hash ; $ this -> requestServerFile ( 'plugin/get' , $ fileCode , $ hash , [ 'name' => $ name , 'installation' => $ installation ? 1 : 0 ] ) ; }
docstring: Downloads a plugin from the update server.
  @param string $name Plugin name.
  @param string $hash Expected file hash.
  @param boolean $installation Indicates whether this is a plugin installation request.
  @return self
docstring_tokens: Downloads a plugin from the update server .