Completed
Push — feature/codesniffer-fixes ( 68e5c9...c1f438 )
by Scott Kingsley
06:14
created
classes/PodsAPI.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1654,7 +1654,7 @@  discard block
 block discarded – undo
1654 1654
 	 * @param array    $params    An associative array of parameters
1655 1655
 	 * @param bool     $sanitized (optional) Decides whether the params have been sanitized before being passed, will
1656 1656
 	 *                            sanitize them if false.
1657
-	 * @param bool|int $db        (optional) Whether to save into the DB or just return Pod array.
1657
+	 * @param boolean $db        (optional) Whether to save into the DB or just return Pod array.
1658 1658
 	 *
1659 1659
 	 * @return int Pod ID
1660 1660
 	 * @since 1.7.9
@@ -4252,7 +4252,7 @@  discard block
 block discarded – undo
4252 4252
 	 * Save relationships
4253 4253
 	 *
4254 4254
 	 * @param int       $id         ID of item
4255
-	 * @param int|array $related_id ID or IDs to save
4255
+	 * @param int|array $related_ids ID or IDs to save
4256 4256
 	 * @param array     $pod        Pod data
4257 4257
 	 * @param array     $field      Field data
4258 4258
 	 */
@@ -5558,7 +5558,6 @@  discard block
 block discarded – undo
5558 5558
 	 * Delete an object from tableless fields
5559 5559
 	 *
5560 5560
 	 * @param int    $id
5561
-	 * @param string $type
5562 5561
 	 * @param string $name
5563 5562
 	 *
5564 5563
 	 * @return bool
@@ -5792,6 +5791,7 @@  discard block
 block discarded – undo
5792 5791
 	 * $params['name'] string Pod name
5793 5792
 	 *
5794 5793
 	 * @param array $params An associative array of parameters
5794
+	 * @param string $type
5795 5795
 	 *
5796 5796
 	 * @return bool True if exists
5797 5797
 	 *
@@ -7505,7 +7505,7 @@  discard block
 block discarded – undo
7505 7505
 	 * @param string $type    Field type to look for
7506 7506
 	 * @param array  $options (optional) Options of the field to pass to the schema function.
7507 7507
 	 *
7508
-	 * @return array|bool|mixed|null
7508
+	 * @return string
7509 7509
 	 *
7510 7510
 	 * @since 2.0
7511 7511
 	 */
@@ -7993,7 +7993,7 @@  discard block
 block discarded – undo
7993 7993
 	 *
7994 7994
 	 * Load the information about an objects MySQL table
7995 7995
 	 *
7996
-	 * @param        $object_type
7996
+	 * @param        string $object_type
7997 7997
 	 * @param string $object The object to look for
7998 7998
 	 * @param null   $name   (optional) Name of the pod to load
7999 7999
 	 * @param array  $pod    (optional) Array with pod information
Please login to merge, or discard this patch.