style fixes

main
Karoly Negyesi 11 years ago
parent f4e9c74fee
commit 1a69d0a2a7

@ -43,7 +43,7 @@ class LibraryInstaller implements InstallerInterface
* @param string $type
* @param Filesystem $filesystem
*/
public function __construct(IOInterface $io, Composer $composer, $type = 'library', $filesystem = null)
public function __construct(IOInterface $io, Composer $composer, $type = 'library', Filesystem $filesystem = null)
{
$this->composer = $composer;
$this->downloadManager = $composer->getDownloadManager();

@ -89,7 +89,8 @@ class PluginInstallerTest extends \PHPUnit_Framework_TestCase
));
}
protected function tearDown() {
protected function tearDown()
{
$filesystem = new Filesystem();
$filesystem->removeDirectory($this->directory);
}

Loading…
Cancel
Save