Changeset - 7e7e225d4d3f
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 13 years ago 2012-10-17 08:55:23
ohnobinki@ohnopublishing.net
Makg section_meeting_add() more specific about parameter types.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
inc/class.semester.inc
Show inline comments
 
@@ -265,13 +265,13 @@ class Semester
 
   *   The name of the new CourseSlot to create if the given section
 
   *   does not yet exist.
 
   * \param $credit_hours
 
   *   The number of credit hours of the associated course or a
 
   *   negative value if unknown.
 
   */
 
  public function section_meeting_add($dept, $course, $title, $section, $synonym, $section_meeting, $course_slot_id = 'default', $credit_hours = -1.0)
 
  public function section_meeting_add($dept, $course, $title, $section, $synonym, SectionMeeting $section_meeting, $course_slot_id = 'default', $credit_hours = -1.0)
 
  {
 
    $dept = strtoupper($dept);
 
    $course = strtoupper($course);
 

	
 
    if (empty($this->departments[$dept][$course]))
 
      $course_obj = NULL;
0 comments (0 inline, 0 general)