Removed unused docblocks in Collection::class

pull/528/head
fadrian06 1 year ago
parent 03b7a5fd29
commit 13fd2eb96a

@ -42,9 +42,7 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Gets an item. * Gets an item.
* *
* @param string $key Key * @return mixed Value if `$key` exists in collection data, otherwise returns `NULL`
*
* @return mixed Value
*/ */
public function __get(string $key) public function __get(string $key)
{ {
@ -54,7 +52,6 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Set an item. * Set an item.
* *
* @param string $key Key
* @param mixed $value Value * @param mixed $value Value
*/ */
public function __set(string $key, $value): void public function __set(string $key, $value): void
@ -64,10 +61,6 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Checks if an item exists. * Checks if an item exists.
*
* @param string $key Key
*
* @return bool Item status
*/ */
public function __isset(string $key): bool public function __isset(string $key): bool
{ {
@ -76,8 +69,6 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Removes an item. * Removes an item.
*
* @param string $key Key
*/ */
public function __unset(string $key): void public function __unset(string $key): void
{ {
@ -116,9 +107,7 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Checks if an item exists at the offset. * Checks if an item exists at the offset.
* *
* @param string $offset Offset * @param string $offset
*
* @return bool Item status
*/ */
public function offsetExists($offset): bool public function offsetExists($offset): bool
{ {
@ -128,7 +117,7 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Removes an item at the offset. * Removes an item at the offset.
* *
* @param string $offset Offset * @param string $offset
*/ */
public function offsetUnset($offset): void public function offsetUnset($offset): void
{ {
@ -176,8 +165,6 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Checks if the current collection key is valid. * Checks if the current collection key is valid.
*
* @return bool Key status
*/ */
public function valid(): bool public function valid(): bool
{ {
@ -188,8 +175,6 @@ class Collection implements ArrayAccess, Iterator, Countable, JsonSerializable
/** /**
* Gets the size of the collection. * Gets the size of the collection.
*
* @return int Collection size
*/ */
public function count(): int public function count(): int
{ {

Loading…
Cancel
Save