mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
drop asserts where not needed
This commit is contained in:
committed by
Jaap van Otterdijk
parent
193731a153
commit
5e1bad3628
@@ -86,7 +86,6 @@ final class MyTag extends BaseTag implements StaticMethod
|
||||
*/
|
||||
public static function create(string $body, DescriptionFactory $descriptionFactory = null, Context $context = null): MyTag
|
||||
{
|
||||
Assert::string($body);
|
||||
Assert::notNull($descriptionFactory);
|
||||
|
||||
return new static($descriptionFactory->create($body, $context));
|
||||
|
||||
Reference in New Issue
Block a user