Merge "Mark constructors of IndexPager subclasses as public"
[lhc/web/wiklou.git] / includes / actions / HistoryAction.php
index 140ca2e..d6b8057 100644 (file)
@@ -415,7 +415,13 @@ class HistoryPager extends ReverseChronologicalPager {
         * @param string $tagFilter
         * @param array $conds
         */
-       function __construct( $historyPage, $year = '', $month = '', $tagFilter = '', $conds = [] ) {
+       public function __construct(
+               HistoryAction $historyPage,
+               $year = '',
+               $month = '',
+               $tagFilter = '',
+               array $conds = []
+       ) {
                parent::__construct( $historyPage->getContext() );
                $this->historyPage = $historyPage;
                $this->tagFilter = $tagFilter;