drop asserts where not needed

This commit is contained in:
TomasVotruba
2017-11-30 10:27:01 +01:00
committed by Jaap van Otterdijk
parent 193731a153
commit 5e1bad3628
6 changed files with 1 additions and 20 deletions
-1
View File
@@ -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));