Bump dependencies

This commit is contained in:
Jaapio
2020-06-27 17:54:35 +02:00
parent da1c4e7d06
commit 70745c7dcb
9 changed files with 166 additions and 40 deletions
@@ -0,0 +1,38 @@
<?php
declare(strict_types=1);
namespace phpDocumentor\Reflection\Assets;
use phpDocumentor\Reflection\DocBlock\Tag;
use phpDocumentor\Reflection\DocBlock\Tags\Formatter;
use phpDocumentor\Reflection\FqsenResolver;
use phpDocumentor\Reflection\DocBlock\Tags\Factory\StaticMethod;
final class CustomServiceInterface implements Tag, StaticMethod
{
public $formatter;
public function getName() : string
{
return 'spy';
}
public static function create($body, Formatter $formatter = null)
{
$tag = new self();
$tag->formatter = $formatter;
return $tag;
}
public function render(?Formatter $formatter = null) : string
{
return $this->getName();
}
public function __toString() : string
{
return $this->getName();
}
}