← Back to team overview

mahara-contributors team mailing list archive

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

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References