1
0
Fork 0

fix(style): fix phpcs errors

pull/608/head
Declspeck 2018-02-24 17:59:52 +02:00
parent 9cbd00cb7b
commit 1a04effed9
No known key found for this signature in database
GPG Key ID: F0417663122A2189
1 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,8 @@ class CachingDocBlockFactory
private $docBlockFactory;
public function __construct() {
public function __construct()
{
$this->docBlockFactory = DocBlockFactory::createInstance();
}
@ -41,7 +42,8 @@ class CachingDocBlockFactory
return $this->cache[$cacheKey] = $text === null ? null : $this->createDocBlockFromNodeAndText($node, $text);
}
public function clearCache() {
public function clearCache()
{
$this->cache = [];
}