<?php
/***************************************************************************
- * Copyright (C) 2003-2010 Polytechnique.org *
+ * Copyright (C) 2003-2014 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
class BananaHandler
{
- public function __construct(PlWizard &$wiz)
+ public function __construct(PlWizard $wiz)
{
}
return 'banana/index.tpl';
}
- public function prepare(PlPage &$page, $id)
+ public function prepare(PlPage $page, $id)
{
}
}
}
-function run_banana(&$page, $class, array $args)
+function run_banana($page, $class, array $args)
{
$user = S::user();
$banana = new $class($user, $args);
}
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
?>