fix(style): fix phpcs errors
parent
9cbd00cb7b
commit
1a04effed9
|
@ -24,7 +24,8 @@ class CachingDocBlockFactory
|
||||||
private $docBlockFactory;
|
private $docBlockFactory;
|
||||||
|
|
||||||
|
|
||||||
public function __construct() {
|
public function __construct()
|
||||||
|
{
|
||||||
$this->docBlockFactory = DocBlockFactory::createInstance();
|
$this->docBlockFactory = DocBlockFactory::createInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -41,7 +42,8 @@ class CachingDocBlockFactory
|
||||||
return $this->cache[$cacheKey] = $text === null ? null : $this->createDocBlockFromNodeAndText($node, $text);
|
return $this->cache[$cacheKey] = $text === null ? null : $this->createDocBlockFromNodeAndText($node, $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function clearCache() {
|
public function clearCache()
|
||||||
|
{
|
||||||
$this->cache = [];
|
$this->cache = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue