File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ public function validation($data, $files) {
137137 /**
138138 * Returns the name of a fieldoption without its table prefix
139139 * @param $fieldoption string fieldname with type prefix
140- * @return string name of field without type prefix
140+ * @return bool|mixed| string name of field without type prefix
141141 * @throws \UnexpectedValueException Field is not prefixed by c_ or u_
142142 * @throws \dml_exception Database connection error
143143 */
@@ -159,7 +159,7 @@ private function get_fieldname($fieldoption) {
159159 * @param $search string needle to search for
160160 * @param $replace string replacement for needle
161161 * @param $subject string subject string to search
162- * @return string subject string with the last occurence of the needle replaced
162+ * @return string|string[] subject string with the last occurence of the needle replaced
163163 */
164164 private function str_last_replace ($ search , $ replace , $ subject ) {
165165 $ pos = strrpos ($ subject , $ search );
You can’t perform that action at this time.
0 commit comments