mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-80203 courseformat: Fix some typos and PHPDoc
This commit is contained in:
parent
b621a7e4b3
commit
dfb6a3ce16
@ -14,14 +14,6 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/**
|
||||
* Contains the main course format out class.
|
||||
*
|
||||
* @package core_courseformat
|
||||
* @copyright 2020 Ferran Recio <ferran@moodle.com>
|
||||
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
||||
*/
|
||||
|
||||
namespace core_courseformat\output\local;
|
||||
|
||||
use core\output\named_templatable;
|
||||
@ -39,7 +31,7 @@ use renderable;
|
||||
class content implements named_templatable, renderable {
|
||||
use courseformat_named_templatable;
|
||||
|
||||
/** @var core_courseformat\base the course format class */
|
||||
/** @var \core_courseformat\base the course format class */
|
||||
protected $format;
|
||||
|
||||
/** @var string the section format class */
|
||||
|
@ -65,7 +65,7 @@ class controlmenu implements named_templatable, renderable {
|
||||
*
|
||||
* @param course_format $format the course format
|
||||
* @param section_info $section the section info
|
||||
* @param cm_info $mod the course module ionfo
|
||||
* @param cm_info $mod the course module info
|
||||
* @param array $displayoptions optional extra display options
|
||||
*/
|
||||
public function __construct(course_format $format, section_info $section, cm_info $mod, array $displayoptions = []) {
|
||||
@ -106,11 +106,11 @@ class controlmenu implements named_templatable, renderable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate the aciton menu element.
|
||||
* Generate the action menu element.
|
||||
*
|
||||
* This method is public in case some block needs to modify the menu before output it.
|
||||
* @param \renderer_base $output typically, the renderer that's calling this function
|
||||
* @return aciton_menu the activity action menu
|
||||
* @return action_menu|null the activity action menu
|
||||
*/
|
||||
public function get_action_menu(\renderer_base $output): ?action_menu {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user