Permalink
Browse files

* update CS with feedback from @stof

  • Loading branch information...
1 parent b6f5d30 commit d244f876132623efdcf02323953057234b123ee0 @till committed Jun 25, 2012
@@ -57,7 +57,7 @@
protected $path;
/**
- * @var \Composer\Util\ProcessExecutor
+ * @var ProcessExecutor
*/
protected $process;
@@ -68,8 +68,8 @@
protected $temp;
/**
- * @param mixed $path
- * @param \Composer\Util\ProcessExecutor|null $process
+ * @param mixed $path
+ * @param ProcessExecutor|null $process
*
* @throws \InvalidArgumentException
*/
@@ -81,7 +81,7 @@ public function __construct($path = null, ProcessExecutor $process = null)
}
$this->path = $path;
}
- $this->process = ($process !== null)?$process:new ProcessExecutor;
+ $this->process = $process ?: new ProcessExecutor();
$this->temp = sys_get_temp_dir();
}
@@ -96,8 +96,8 @@ public function getDownloadManager()
}
/**
- * @param \Composer\Package\PackageInterface $package
- * @param string $extension
+ * @param PackageInterface $package
+ * @param string $extension
*
* @return string
* @throws \InvalidArgumentException When unknown 'format' is encountered.
@@ -110,7 +110,7 @@ public function getFilename(PackageInterface $package, $extension)
}
/**
- * @param \Composer\Package\PackageInterface $package
+ * @param PackageInterface $package
*
* @return string
* @throws \RuntimeException
@@ -24,7 +24,7 @@ class TarDumper extends BaseDumper
protected $format = 'tar';
/**
- * @param \Composer\Package\PackageInterface $package
+ * @param PackageInterface $package
* @throws \InvalidArgumentException
*/
public function dump(PackageInterface $package)
@@ -24,7 +24,7 @@ class ZipDumper extends BaseDumper
protected $format = 'zip';
/**
- * @param \Composer\Package\PackageInterface $package
+ * @param PackageInterface $package
* @throws \InvalidArgumentException
*/
public function dump(PackageInterface $package)

0 comments on commit d244f87

Please sign in to comment.