Replace redundant Assert calls with native typehint
[lhc/web/wiklou.git] / includes / Storage / PageUpdater.php
index 67928f9..c6795ea 100644 (file)
@@ -615,7 +615,6 @@ class PageUpdater {
                // Defend against mistakes caused by differences with the
                // signature of WikiPage::doEditContent.
                Assert::parameterType( 'integer', $flags, '$flags' );
-               Assert::parameterType( 'CommentStoreComment', $summary, '$summary' );
 
                if ( $this->wasCommitted() ) {
                        throw new RuntimeException( 'saveRevision() has already been called on this PageUpdater!' );