File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ interface RelationshipCRUD {
1919 *
2020 * @since 0.1.0
2121 *
22- * @param mixed $id The ID of the relationship.
22+ * @param string|int $id The ID of the relationship.
2323 */
2424 public function deleteAllRelationshipData ( $ id ): void ;
2525
@@ -28,7 +28,7 @@ public function deleteAllRelationshipData( $id ): void;
2828 *
2929 * @since 0.1.0
3030 *
31- * @param mixed $id The ID of the relationship.
31+ * @param string|int $id The ID of the relationship.
3232 *
3333 * @return ModelContract|ModelContract[]|null
3434 */
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function getTableInterface(): string {
151151 *
152152 * @since 0.1.0
153153 *
154- * @param mixed $id The ID of the relationship.
154+ * @param string|int $id The ID of the relationship.
155155 */
156156 public function deleteAllRelationshipData ( $ id ): void {
157157 $ this ->getTableInterface ()::delete ( $ id , $ this ->getThisEntityColumn () );
@@ -162,7 +162,9 @@ public function deleteAllRelationshipData( $id ): void {
162162 *
163163 * @since 0.1.0
164164 *
165- * @param mixed $id The ID of the relationship.
165+ * @param string|int $id The ID of the relationship.
166+ *
167+ * @return array
166168 */
167169 public function fetchRelationshipData ( $ id ) {
168170 $ table = $ this ->getTableInterface ();
You can’t perform that action at this time.
0 commit comments