← Back to team overview

mahara-contributors team mailing list archive

[Bug 1400975] Re: Add type hints to dml.php methods

 

** Changed in: mahara
    Milestone: None => 15.04.0

** Changed in: mahara
     Assignee: (unassigned) => Aaron Wells (u-aaronw)

** Changed in: mahara
   Importance: Undecided => Medium

** Changed in: mahara
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1400975

Title:
  Add type hints to dml.php methods

Status in Mahara ePortfolio:
  Fix Committed

Bug description:
  Following up on patch https://reviews.mahara.org/#/c/3985/ , I think
  it'd be a good idea to add PHP type hints to all the applicable method
  params in dml.php, so that people get warning messages if they're
  passing in the wrong types of params. That should make it easier to
  troubleshoot problem code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1400975/+subscriptions


References