Skip to content

Commit

Permalink
MDL-21198 fixed legacy PHP4 pass-by-reference notation + added proper…
Browse files Browse the repository at this point in the history
… param type
  • Loading branch information
skodak committed Dec 28, 2009
1 parent 1fe2e2d commit c2c04c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/outputrenderers.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function pix_url($imagename, $component = 'moodle') {
* @param html_component $component
* @return void;
*/
protected function prepare_event_handlers(&$component) {
protected function prepare_event_handlers(html_component $component) {
$actions = $component->get_actions();
if (!empty($actions) && is_array($actions) && $actions[0] instanceof component_action) {
foreach ($actions as $action) {
Expand Down

0 comments on commit c2c04c6

Please sign in to comment.