1
0
Fork 0

Incorporated latest feedback: added use statement in code example and removed explicit type-cast

pull/540/head
Mike van Riel 2012-04-08 14:24:34 +02:00
parent b3e0126acf
commit 2f2f2e4f26
1 changed files with 3 additions and 2 deletions

View File

@ -112,8 +112,9 @@ Example:
namespace phpDocumentor\Composer; namespace phpDocumentor\Composer;
use Composer\Package\PackageInterface; use Composer\Package\PackageInterface;
use Composer\Installer\LibraryInstaller;
class TemplateInstaller extends \Composer\Installer\LibraryInstaller class TemplateInstaller extends LibraryInstaller
{ {
/** /**
* {@inheritDoc} * {@inheritDoc}
@ -137,7 +138,7 @@ Example:
*/ */
public function supports($packageType) public function supports($packageType)
{ {
return (bool)('phpdocumentor-template' === $packageType); return ('phpdocumentor-template' === $packageType);
} }
} }