File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -601,7 +601,7 @@ public function getOptions()
601601 /**
602602 * Determine if the given item exists.
603603 *
604- * @param mixed $key
604+ * @param TKey $key
605605 * @return bool
606606 */
607607 public function offsetExists ($ key ): bool
@@ -612,8 +612,8 @@ public function offsetExists($key): bool
612612 /**
613613 * Get the item at the given offset.
614614 *
615- * @param mixed $key
616- * @return mixed
615+ * @param TKey $key
616+ * @return TValue
617617 */
618618 public function offsetGet ($ key ): mixed
619619 {
@@ -623,8 +623,8 @@ public function offsetGet($key): mixed
623623 /**
624624 * Set the item at the given offset.
625625 *
626- * @param mixed $key
627- * @param mixed $value
626+ * @param TKey|null $key
627+ * @param TValue $value
628628 * @return void
629629 */
630630 public function offsetSet ($ key , $ value ): void
@@ -635,7 +635,7 @@ public function offsetSet($key, $value): void
635635 /**
636636 * Unset the item at the given key.
637637 *
638- * @param mixed $key
638+ * @param TKey $key
639639 * @return void
640640 */
641641 public function offsetUnset ($ key ): void
Original file line number Diff line number Diff line change @@ -726,7 +726,7 @@ public function getOptions()
726726 /**
727727 * Determine if the given item exists.
728728 *
729- * @param mixed $key
729+ * @param TKey $key
730730 * @return bool
731731 */
732732 public function offsetExists ($ key ): bool
@@ -737,8 +737,8 @@ public function offsetExists($key): bool
737737 /**
738738 * Get the item at the given offset.
739739 *
740- * @param mixed $key
741- * @return mixed
740+ * @param TKey $key
741+ * @return TValue
742742 */
743743 public function offsetGet ($ key ): mixed
744744 {
@@ -748,8 +748,8 @@ public function offsetGet($key): mixed
748748 /**
749749 * Set the item at the given offset.
750750 *
751- * @param mixed $key
752- * @param mixed $value
751+ * @param TKey|null $key
752+ * @param TValue $value
753753 * @return void
754754 */
755755 public function offsetSet ($ key , $ value ): void
@@ -760,7 +760,7 @@ public function offsetSet($key, $value): void
760760 /**
761761 * Unset the item at the given key.
762762 *
763- * @param mixed $key
763+ * @param TKey $key
764764 * @return void
765765 */
766766 public function offsetUnset ($ key ): void
You can’t perform that action at this time.
0 commit comments