Mwalker has uploaded a new change for review.
https://gerrit.wikimedia.org/r/96361
Change subject: Writer was not passed to the API constructor
......................................................................
Writer was not passed to the API constructor
Change-Id: I18f597c0654f1527c82b060ce75369d9db86c01d
---
M RenderingAPI.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Collection
refs/changes/61/96361/1
diff --git a/RenderingAPI.php b/RenderingAPI.php
index 3140f47..d31deff 100644
--- a/RenderingAPI.php
+++ b/RenderingAPI.php
@@ -20,7 +20,7 @@
/**
* @param string|bool $writer: Writer or false if none specified/needed
*/
- protected function __create( $writer ) {
+ protected function __construct( $writer ) {
$this->writer = $writer;
}
@@ -74,7 +74,7 @@
* e.g. for printing
*
* @param $collection
- * @param $url
+ __create * @param $url
*
* @return CollectionAPIResult
*/
--
To view, visit https://gerrit.wikimedia.org/r/96361
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I18f597c0654f1527c82b060ce75369d9db86c01d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Collection
Gerrit-Branch: OCG
Gerrit-Owner: Mwalker <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits