Completed
Push — master ( 6257ee...7420f9 )
by José
82:44 queued 52:54
created
src/Chamilo/UserBundle/Entity/User.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -643,7 +643,7 @@  discard block
 block discarded – undo
643 643
     }
644 644
 
645 645
     /**
646
-     * @param $portal
646
+     * @param AccessUrlRelUser $portal
647 647
      */
648 648
     public function setPortal($portal)
649 649
     {
@@ -1003,7 +1003,7 @@  discard block
 block discarded – undo
1003 1003
     /**
1004 1004
      * Get pictureUri
1005 1005
      *
1006
-     * @return Media
1006
+     * @return string
1007 1007
      */
1008 1008
     public function getPictureUri()
1009 1009
     {
@@ -1311,7 +1311,7 @@  discard block
 block discarded – undo
1311 1311
     }
1312 1312
 
1313 1313
     /**
1314
-     * @return Media
1314
+     * @return string
1315 1315
      */
1316 1316
     public function getAvatar()
1317 1317
     {
@@ -2088,7 +2088,7 @@  discard block
 block discarded – undo
2088 2088
     }
2089 2089
 
2090 2090
     /**
2091
-     * @return mixed
2091
+     * @return string|null
2092 2092
      */
2093 2093
     public function getPlainPassword()
2094 2094
     {
@@ -2100,7 +2100,7 @@  discard block
 block discarded – undo
2100 2100
       /**
2101 2101
      * Returns the user roles
2102 2102
      *
2103
-     * @return array The roles
2103
+     * @return string[] The roles
2104 2104
      */
2105 2105
     public function getRoles()
2106 2106
     {
@@ -2425,7 +2425,7 @@  discard block
 block discarded – undo
2425 2425
     /**
2426 2426
      * Check if the user has the skill
2427 2427
      * @param Skill $skill The skill
2428
-     * @return boolean
2428
+     * @return boolean|null
2429 2429
      */
2430 2430
     public function hasSkill(Skill $skill)
2431 2431
     {
Please login to merge, or discard this patch.
main/inc/lib/online.inc.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -209,11 +209,11 @@  discard block
 block discarded – undo
209 209
 /**
210 210
  * Gives a list of people online now (and in the last $valid minutes)
211 211
  *
212
- * @param $from
212
+ * @param integer $from
213 213
  * @param $number_of_items
214 214
  * @param null $column
215 215
  * @param null $direction
216
- * @param null $time_limit
216
+ * @param integer $time_limit
217 217
  * @param bool $friends
218 218
  * @return  array|bool For each line, a list of user IDs and login dates, or FALSE on error or empty results
219 219
  */
@@ -320,6 +320,9 @@  discard block
 block discarded – undo
320 320
     }
321 321
 }
322 322
 
323
+/**
324
+ * @param string $time_limit
325
+ */
323 326
 function who_is_online_count($time_limit = null, $friends = false)
324 327
 {
325 328
     if (empty($time_limit)) {
@@ -436,6 +439,10 @@  discard block
 block discarded – undo
436 439
 	}
437 440
 }
438 441
 
442
+/**
443
+ * @param integer $uid
444
+ * @param string|null $time_limit
445
+ */
439 446
 function who_is_online_in_this_course_count($uid, $time_limit, $coursecode=null)
440 447
 {
441 448
 	if (empty($coursecode)) {
Please login to merge, or discard this patch.
main/gradebook/lib/user_data_generator.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
 
286 286
     /**
287 287
      * @param $item
288
-     * @param $ignore_score_color
288
+     * @param boolean $ignore_score_color
289 289
      * @return string
290 290
      */
291 291
     private function build_average_column($item, $ignore_score_color)
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
 
307 307
     /**
308 308
      * @param $item
309
-     * @param $ignore_score_color
309
+     * @param boolean $ignore_score_color
310 310
      * @return string
311 311
      */
312 312
     private function build_result_column($item, $ignore_score_color)
@@ -323,7 +323,7 @@  discard block
 block discarded – undo
323 323
 
324 324
     /**
325 325
      * @param $item
326
-     * @param $ignore_score_color
326
+     * @param boolean $ignore_score_color
327 327
      * @return string
328 328
      */
329 329
     private function build_mask_column($item, $ignore_score_color)
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
 
340 340
     /**
341 341
      * @param $coursecode
342
-     * @return mixed
342
+     * @return string
343 343
      */
344 344
     private function get_course_name_from_code_cached($coursecode)
345 345
     {
Please login to merge, or discard this patch.
main/inc/lib/course.lib.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -813,7 +813,7 @@  discard block
 block discarded – undo
813 813
      * @param  string $courseCode the course code
814 814
      * @param  int $visible (optional) The course visibility in the catalogue to the user (1=visible, 0=invisible)
815 815
      *
816
-     * @return boolean true if added succesfully, false otherwise.
816
+     * @return boolean|string true if added succesfully, false otherwise.
817 817
      */
818 818
     public static function addUserVisibilityToCourseInCatalogue($userId, $courseCode, $visible = 1)
819 819
     {
@@ -1784,6 +1784,7 @@  discard block
 block discarded – undo
1784 1784
      * @param   string  Course code
1785 1785
      * @param   int     Session ID
1786 1786
      * @param   bool $addGeneralCoach
1787
+     * @param integer $session_id
1787 1788
      * @return  array   List of users
1788 1789
      */
1789 1790
     public static function get_coach_list_from_course_code($course_code, $session_id, $addGeneralCoach = true)
@@ -2418,7 +2419,7 @@  discard block
 block discarded – undo
2418 2419
 
2419 2420
     /**
2420 2421
      * Creates a file called mysql_dump.sql in the course folder
2421
-     * @param $course_code The code of the course
2422
+     * @param string $course_code The code of the course
2422 2423
      * @todo Implementation for single database
2423 2424
      */
2424 2425
     public static function create_database_dump($course_code)
@@ -3212,6 +3213,7 @@  discard block
 block discarded – undo
3212 3213
      * @param int $limit
3213 3214
      * @param string $column
3214 3215
      * @param string $direction
3216
+     * @param integer $status
3215 3217
      * @return array    courses
3216 3218
      */
3217 3219
     public static function get_courses_followed_by_drh(
@@ -3806,6 +3808,7 @@  discard block
 block discarded – undo
3806 3808
      *  class userportal-course-item.
3807 3809
      * @param int      User category id
3808 3810
      * @param bool      Whether to show the document quick-loader or not
3811
+     * @param integer $user_category_id
3809 3812
      * @return string
3810 3813
      */
3811 3814
     public static function returnCoursesWithoutCategories($user_category_id, $load_dirs = false)
@@ -4992,7 +4995,7 @@  discard block
 block discarded – undo
4992 4995
     /**
4993 4996
      * Returns the SQL conditions to filter course only visible by the user in the catalogue
4994 4997
      *
4995
-     * @param $courseTableAlias Alias of the course table
4998
+     * @param string $courseTableAlias Alias of the course table
4996 4999
      * @return string SQL conditions
4997 5000
      */
4998 5001
     public static function getCourseVisibilitySQLCondition($courseTableAlias) {
@@ -6087,11 +6090,11 @@  discard block
 block discarded – undo
6087 6090
 
6088 6091
     /**
6089 6092
      * @param int $user_id
6090
-     * @param $filter
6093
+     * @param string $filter
6091 6094
      * @param bool $load_dirs
6092 6095
      * @param int $getCount
6093 6096
      * @param int $start
6094
-     * @param null $maxPerPage
6097
+     * @param integer $maxPerPage
6095 6098
      * @return null|string
6096 6099
      */
6097 6100
     public static function displayCourses($user_id, $filter, $load_dirs, $getCount, $start = null, $maxPerPage = null)
Please login to merge, or discard this patch.
src/Chamilo/SettingsBundle/Manager/SettingsManager.php 1 patch
Doc Comments   +8 added lines, -5 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
 
126 126
     /**
127 127
      * Get variables and categories as in 1.11.x
128
-     * @return array
128
+     * @return string
129 129
      */
130 130
     public function getVariablesAndCategories()
131 131
     {
@@ -428,7 +428,7 @@  discard block
 block discarded – undo
428 428
     /**
429 429
      * Rename old variable with variable used in Chamilo 2.0
430 430
      * @param string $variable
431
-     * @return mixed
431
+     * @return string
432 432
      */
433 433
     public function renameVariable($variable)
434 434
     {
@@ -464,7 +464,7 @@  discard block
 block discarded – undo
464 464
      * Replace old Chamilo 1.x category with 2.0 version
465 465
      * @param string $variable
466 466
      * @param string $defaultCategory
467
-     * @return mixed
467
+     * @return string
468 468
      */
469 469
     public function fixCategory($variable, $defaultCategory)
470 470
     {
@@ -558,8 +558,8 @@  discard block
 block discarded – undo
558 558
     }
559 559
 
560 560
     /**
561
-     * @param $name
562
-     * @return mixed
561
+     * @param string $name
562
+     * @return string
563 563
      * @throws \InvalidArgumentException
564 564
      */
565 565
     public function getSetting($name)
@@ -843,6 +843,9 @@  discard block
 block discarded – undo
843 843
         return $parameters;
844 844
     }
845 845
 
846
+    /**
847
+     * @param string $namespace
848
+     */
846 849
     public function getParametersFromKeyword($namespace, $keyword = '')
847 850
     {
848 851
         $criteria = array('category' => $namespace);
Please login to merge, or discard this patch.
main/inc/lib/usermanager.lib.php 1 patch
Doc Comments   +25 added lines, -18 removed lines patch added patch discarded remove patch
@@ -132,9 +132,9 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Validates the password
134 134
      *
135
-     * @param $encoded
136
-     * @param $raw
137
-     * @param $salt
135
+     * @param string $encoded
136
+     * @param string $raw
137
+     * @param string $salt
138 138
      * @return bool
139 139
      */
140 140
     public static function isPasswordValid($encoded, $raw, $salt)
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
      * @param string $raw
150 150
      * @param User   $user
151 151
      *
152
-     * @return bool
152
+     * @return string
153 153
      */
154 154
     public static function encryptPassword($raw, User $user)
155 155
     {
@@ -1096,6 +1096,7 @@  discard block
 block discarded – undo
1096 1096
     /**
1097 1097
      * Disables a user
1098 1098
      * @param int User id
1099
+     * @param integer $user_id
1099 1100
      * @return bool
1100 1101
      * @uses UserManager::change_active_state() to actually disable the user
1101 1102
      * @assert (0) === false
@@ -1112,6 +1113,7 @@  discard block
 block discarded – undo
1112 1113
     /**
1113 1114
      * Enable a user
1114 1115
      * @param int User id
1116
+     * @param integer $user_id
1115 1117
      * @return bool
1116 1118
      * @uses UserManager::change_active_state() to actually disable the user
1117 1119
      * @assert (0) === false
@@ -1278,6 +1280,7 @@  discard block
 block discarded – undo
1278 1280
      * Checks whether the user id exists in the database
1279 1281
      *
1280 1282
      * @param int User id
1283
+     * @param integer $userId
1281 1284
      * @return bool True if user id was found, false otherwise
1282 1285
      */
1283 1286
     public static function is_user_id_valid($userId)
@@ -1419,7 +1422,7 @@  discard block
 block discarded – undo
1419 1422
     /**
1420 1423
      * Get a list of users of which the given conditions match with a LIKE '%cond%'
1421 1424
      * @param array $conditions a list of condition (exemple : status=>STUDENT)
1422
-     * @param array $order_by a list of fields on which sort
1425
+     * @param string[] $order_by a list of fields on which sort
1423 1426
      * @return array An array with all users of the platform.
1424 1427
      * @todo optional course code parameter, optional sorting parameters...
1425 1428
      * @todo security filter order_by
@@ -1490,7 +1493,7 @@  discard block
 block discarded – undo
1490 1493
      * @param   array $userInfo user information to avoid query the DB
1491 1494
      * returns the /main/img/unknown.jpg image set it at true
1492 1495
      *
1493
-     * @return    array     Array of 2 elements: 'dir' and 'file' which contain
1496
+     * @return    integer     Array of 2 elements: 'dir' and 'file' which contain
1494 1497
      * the dir and file as the name implies if image does not exist it will
1495 1498
      * return the unknow image if anonymous parameter is true if not it returns an empty array
1496 1499
      */
@@ -1982,7 +1985,7 @@  discard block
 block discarded – undo
1982 1985
     /**
1983 1986
      * Returns an array with the user's productions.
1984 1987
      *
1985
-     * @param    $user_id    User id
1988
+     * @param    integer $user_id    User id
1986 1989
      * @return   array  An array containing the user's productions
1987 1990
      */
1988 1991
     public static function get_user_productions($user_id)
@@ -2137,7 +2140,7 @@  discard block
 block discarded – undo
2137 2140
 
2138 2141
     /**
2139 2142
      * Build a list of extra file already uploaded in $user_folder/{$extra_field}/
2140
-     * @param $user_id
2143
+     * @param integer $user_id
2141 2144
      * @param $extra_field
2142 2145
      * @param bool $force
2143 2146
      * @param bool $showDelete
@@ -2242,7 +2245,7 @@  discard block
 block discarded – undo
2242 2245
      * @param    int       $fieldType  Field's type
2243 2246
      * @param    string    $displayText Field's language var name
2244 2247
      * @param    string    $default Field's default value
2245
-     * @return int
2248
+     * @return boolean
2246 2249
      */
2247 2250
     public static function create_extra_field($variable, $fieldType, $displayText, $default)
2248 2251
     {
@@ -2276,6 +2279,7 @@  discard block
 block discarded – undo
2276 2279
      * @param    boolean    Whether to prefix the fields indexes with "extra_" (might be used by formvalidator)
2277 2280
      * @param    boolean    Whether to return invisible fields as well
2278 2281
      * @param    boolean    Whether to split multiple-selection fields or not
2282
+     * @param boolean $field_filter
2279 2283
      * @return    array    Array of fields => value for the given user
2280 2284
      */
2281 2285
     public static function get_extra_user_data(
@@ -2550,6 +2554,7 @@  discard block
 block discarded – undo
2550 2554
     /**
2551 2555
      * Get extra user data by field variable
2552 2556
      * @param string    field variable
2557
+     * @param string $field_variable
2553 2558
      * @return array    data
2554 2559
      */
2555 2560
     public static function get_extra_user_data_by_field_variable($field_variable)
@@ -3119,7 +3124,7 @@  discard block
 block discarded – undo
3119 3124
      * @param    string  $user_id   User ID
3120 3125
      * @param   string  $course course directory
3121 3126
      * @param   string  $resourcetype resourcetype: images, all
3122
-     * @return    int        User ID (or false if not found)
3127
+     * @return    string        User ID (or false if not found)
3123 3128
      */
3124 3129
     public static function get_user_upload_files_by_course($user_id, $course, $resourcetype = 'all')
3125 3130
     {
@@ -3203,7 +3208,7 @@  discard block
 block discarded – undo
3203 3208
     /**
3204 3209
      * Adds a new API key to the users' account
3205 3210
      * @param   int     Optional user ID (defaults to the results of api_get_user_id())
3206
-     * @return  boolean True on success, false on failure
3211
+     * @return  false|string True on success, false on failure
3207 3212
      */
3208 3213
     public static function add_api_key($user_id = null, $api_service = 'dokeos')
3209 3214
     {
@@ -3258,6 +3263,7 @@  discard block
 block discarded – undo
3258 3263
      * Regenerate an API key from the user's account
3259 3264
      * @param   int     user ID (defaults to the results of api_get_user_id())
3260 3265
      * @param   string  API key's internal ID
3266
+     * @param string $api_service
3261 3267
      * @return  int        num
3262 3268
      */
3263 3269
     public static function update_api_key($user_id, $api_service)
@@ -3287,6 +3293,7 @@  discard block
 block discarded – undo
3287 3293
     /**
3288 3294
      * @param   int     user ID (defaults to the results of api_get_user_id())
3289 3295
      * @param   string    API key's internal ID
3296
+     * @param string $api_service
3290 3297
      * @return  int    row ID, or return false if not found
3291 3298
      */
3292 3299
     public static function get_api_key_id($user_id, $api_service)
@@ -3502,7 +3509,7 @@  discard block
 block discarded – undo
3502 3509
      * @param int $field_id
3503 3510
      * @param bool $show_links show links or not
3504 3511
      *
3505
-     * @return array
3512
+     * @return string
3506 3513
      */
3507 3514
     public static function get_user_tags_to_string($user_id, $field_id, $show_links = true)
3508 3515
     {
@@ -3599,7 +3606,7 @@  discard block
 block discarded – undo
3599 3606
      * @param mixed $tag
3600 3607
      * @param int $user_id
3601 3608
      * @param int $field_id field id of the tag
3602
-     * @return bool
3609
+     * @return boolean|null
3603 3610
      */
3604 3611
     public static function add_tag($tag, $user_id, $field_id)
3605 3612
     {
@@ -5045,7 +5052,7 @@  discard block
 block discarded – undo
5045 5052
     }
5046 5053
 
5047 5054
     /**
5048
-     * @return array
5055
+     * @return string[]
5049 5056
      */
5050 5057
     public static function get_user_field_types()
5051 5058
     {
@@ -5337,7 +5344,7 @@  discard block
 block discarded – undo
5337 5344
 
5338 5345
     /**
5339 5346
      * Get the boss user ID from a followed user id
5340
-     * @param $userId
5347
+     * @param integer $userId
5341 5348
      * @return bool
5342 5349
      */
5343 5350
     public static function getStudentBossList($userId)
@@ -5389,7 +5396,7 @@  discard block
 block discarded – undo
5389 5396
      * Get either a Gravatar URL or complete image tag for a specified email address.
5390 5397
      *
5391 5398
      * @param string $email The email address
5392
-     * @param string $s Size in pixels, defaults to 80px [ 1 - 2048 ]
5399
+     * @param integer $s Size in pixels, defaults to 80px [ 1 - 2048 ]
5393 5400
      * @param string $d Default imageset to use [ 404 | mm | identicon | monsterid | wavatar ]
5394 5401
      * @param string $r Maximum rating (inclusive) [ g | pg | r | x ]
5395 5402
      * @param boole $img True to return a complete IMG tag False for just the URL
@@ -5755,9 +5762,9 @@  discard block
 block discarded – undo
5755 5762
      * @param bool $get_count
5756 5763
      * @param bool $reverse_order
5757 5764
      * @param int $start
5758
-     * @param null $maxPerPage
5765
+     * @param integer $maxPerPage
5759 5766
      * @param null $categoryFilter
5760
-     * @return array
5767
+     * @return integer
5761 5768
      */
5762 5769
     public static function getCategories(
5763 5770
         $user_id,
Please login to merge, or discard this patch.
main/inc/lib/api.lib.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1222,6 +1222,7 @@  discard block
 block discarded – undo
1222 1222
  * Gets the list of courses a specific user is subscribed to
1223 1223
  * @param int       User ID
1224 1224
  * @param boolean   $fetch_session Whether to get session courses or not - NOT YET IMPLEMENTED
1225
+ * @param integer $userid
1225 1226
  * @return array    Array of courses in the form [0]=>('code'=>xxx,'db'=>xxx,'dir'=>xxx,'status'=>d)
1226 1227
  */
1227 1228
 function api_get_user_courses($userid, $fetch_session = true)
@@ -2976,7 +2977,7 @@  discard block
 block discarded – undo
2976 2977
 * on the session visibility
2977 2978
 * @param bool $tutor  Whether to check if the user has the tutor role
2978 2979
 * @param bool  $coach Whether to check if the user has the coach role
2979
-* @return boolean true: the user has the rights to edit, false: he does not
2980
+* @return boolean|null true: the user has the rights to edit, false: he does not
2980 2981
 */
2981 2982
 function api_is_allowed_to_session_edit($tutor = false, $coach = false)
2982 2983
 {
@@ -5153,6 +5154,7 @@  discard block
 block discarded – undo
5153 5154
  * @param string    Whether we want a simple list (display a category) or
5154 5155
  * a grouped list (group by variable as in settings.php default). Values: 'list' or 'group'
5155 5156
  * @param int       Access URL's ID. Optional. Uses 1 by default, which is the unique URL
5157
+ * @param string $cat
5156 5158
  * @return array    Array of database results for the current settings of the current access URL
5157 5159
  */
5158 5160
 function &api_get_settings($cat = null, $ordering = 'list', $access_url = 1, $url_changeable = 0)
@@ -6201,6 +6203,7 @@  discard block
 block discarded – undo
6201 6203
 
6202 6204
 /**
6203 6205
  * Returns the <script> HTML tag
6206
+ * @param string $file
6204 6207
  * @return string
6205 6208
  */
6206 6209
 function api_get_css_asset($file, $media = 'screen')
@@ -6507,7 +6510,7 @@  discard block
 block discarded – undo
6507 6510
 /**
6508 6511
  * Returns an array of global configuration settings which should be ignored
6509 6512
  * when printing the configuration settings screens
6510
- * @return array Array of strings, each identifying one of the excluded settings
6513
+ * @return string[] Array of strings, each identifying one of the excluded settings
6511 6514
  */
6512 6515
 function api_get_locked_settings() {
6513 6516
     return array(
@@ -6548,6 +6551,7 @@  discard block
 block discarded – undo
6548 6551
  * false if he isn't. If the user ID is given and is an integer, then the same
6549 6552
  * ID is simply returned
6550 6553
  * @param  integer User ID
6554
+ * @param integer $user_id
6551 6555
  * @return boolean Integer User ID is logged in, or false otherwise
6552 6556
  */
6553 6557
 function api_user_is_login($user_id = null) {
@@ -6968,6 +6972,7 @@  discard block
 block discarded – undo
6968 6972
 /**
6969 6973
  * Gets memory limit in bytes
6970 6974
  * @param string The memory size (128M, 1G, 1000K, etc)
6975
+ * @param string $mem
6971 6976
  * @return int
6972 6977
  * @assert (null) === false
6973 6978
  * @assert ('1t')  === 1099511627776
Please login to merge, or discard this patch.
main/inc/lib/extra_field_value.lib.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * This function is used with $extraField->addElements()
76 76
      * @param array $params array for the insertion into the *_field_values table
77 77
      * @param bool $showQuery
78
-     * @return mixed false on empty params, void otherwise
78
+     * @return false|null false on empty params, void otherwise
79 79
      * @assert (array()) === false
80 80
      */
81 81
     public function saveFieldValues($params, $showQuery = false)
@@ -531,7 +531,7 @@  discard block
 block discarded – undo
531 531
      * @param int $item_id Item ID (It could be a session_id, course_id or user_id)
532 532
      * @param int $field_id Field ID (the ID from the *_field table)
533 533
      * @param bool $transform Whether to transform the result to a human readable strings
534
-     * @return mixed A structured array with the field_id and field_value, or false on error
534
+     * @return string A structured array with the field_id and field_value, or false on error
535 535
      * @assert (-1,-1) === false
536 536
      */
537 537
     public function get_values_by_handler_and_field_id($item_id, $field_id, $transform = false)
@@ -624,7 +624,7 @@  discard block
 block discarded – undo
624 624
      * @param int $item_id Item ID from the original table
625 625
      * @param string $field_variable The name of the field we are looking for
626 626
      * @param bool $transform
627
-     * @param bool $allVisibility
627
+     * @param bool $visibility
628 628
      *
629 629
      * @return mixed Array of results, or false on error or not found
630 630
      * @assert (-1,'') === false
@@ -686,7 +686,7 @@  discard block
 block discarded – undo
686 686
      * @param string $field_value Data we are looking for in the given field
687 687
      * @param bool $transform Whether to transform the result to a human readable strings
688 688
      * @param bool $last Whether to return the last element or simply the first one we get
689
-     * @return mixed Give the ID if found, or false on failure or not found
689
+     * @return string|null Give the ID if found, or false on failure or not found
690 690
      * @assert (-1,-1) === false
691 691
      */
692 692
     public function get_item_id_from_field_variable_and_field_value(
Please login to merge, or discard this patch.