@@ -330,15 +330,15 @@ class Data_Team_Helper extends \NDB_Form
330330 * Get the list of fieldnames in conflict for the given test_name
331331 * from conflict_unresolved
332332 *
333- * @param unknown_type $test_name the value of test name
334- * @param string $visit_label the value of visit label
335- * @param string $candidate the value of candidate
336- * @param int|string $site the id or default value of the site
337- * @param int|null $project the id of the project or can be null
333+ * @param string $test_name the value of test name
334+ * @param string $visit_label the value of visit label
335+ * @param string $candidate the value of candidate
336+ * @param int|string $site the id or default value of the site
337+ * @param int|null $project the id of the project or can be null
338338 *
339339 * @return unknown
340340 */
341- function instrumentInConflict ($ test_name ,
341+ function instrumentInConflict (string $ test_name ,
342342 $ visit_label =null ,
343343 $ candidate =null ,
344344 $ site =null ,
@@ -760,15 +760,15 @@ class Data_Team_Helper extends \NDB_Form
760760 * @param string|null $full_name the value of full name
761761 * @param string|null $subprojectID the value of subproject ID
762762 *
763- * @return mixed|Non
763+ * @return string
764764 * @throws \DatabaseException
765765 */
766- function getTestNameusingMappedName ($ full_name , $ subprojectID = null )
766+ function getTestNameusingMappedName ($ full_name , $ subprojectID = null ): string
767767 {
768768 $ DB =& \Database::singleton ();
769769 $ values = array ();
770770
771- $ test_name = null ;
771+ $ test_name = '' ;
772772 if ((!(is_null ($ full_name )))) {
773773 if ($ DB ->ColumnExists ('test_battery ' , 'Test_name_display ' )) {
774774 $ sqlSelectOne = "SELECT Test_name " .
0 commit comments