diff --git a/src/DataStructures/StrictList.php b/src/DataStructures/StrictList.php index a85e59d..17b0791 100644 --- a/src/DataStructures/StrictList.php +++ b/src/DataStructures/StrictList.php @@ -73,7 +73,7 @@ class StrictList extends SplDoublyLinkedList * * @return void * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function add(int $index, mixed $item): void { @@ -90,7 +90,7 @@ class StrictList extends SplDoublyLinkedList * * @return void * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function append(mixed ...$items): void { @@ -159,7 +159,7 @@ class StrictList extends SplDoublyLinkedList * * @return void * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function offsetSet(mixed $index, mixed $item): void { @@ -176,7 +176,7 @@ class StrictList extends SplDoublyLinkedList * * @return void * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function prepend(mixed ...$items): void { @@ -198,7 +198,7 @@ class StrictList extends SplDoublyLinkedList * * @return void * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function push(mixed $item): void { @@ -240,7 +240,7 @@ class StrictList extends SplDoublyLinkedList * * @return void * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function unshift(mixed $item): void { @@ -256,7 +256,7 @@ class StrictList extends SplDoublyLinkedList * @param iterable $items Initial set of items * @param string[] $allowedTypes Allowed types of items (optional) * - * @throws \InvalidArgumentException + * @throws InvalidArgumentException */ public function __construct(iterable $items = [], array $allowedTypes = []) { diff --git a/src/DataStructures/StrictQueue.php b/src/DataStructures/StrictQueue.php index 514a1b2..2fef611 100644 --- a/src/DataStructures/StrictQueue.php +++ b/src/DataStructures/StrictQueue.php @@ -45,7 +45,7 @@ class StrictQueue extends StrictList * * @return int The set of flags and modes of iteration * - * @throws \RuntimeException + * @throws RuntimeException */ final public function setIteratorMode(int $mode): int { diff --git a/src/DataStructures/StrictStack.php b/src/DataStructures/StrictStack.php index 516efbd..ba076be 100644 --- a/src/DataStructures/StrictStack.php +++ b/src/DataStructures/StrictStack.php @@ -45,7 +45,7 @@ class StrictStack extends StrictList * * @return int The set of flags and modes of iteration * - * @throws \RuntimeException + * @throws RuntimeException */ final public function setIteratorMode(int $mode): int { diff --git a/src/HelperFunction/throwErrorException.php b/src/HelperFunction/throwErrorException.php index 5f52c75..2c23e75 100644 --- a/src/HelperFunction/throwErrorException.php +++ b/src/HelperFunction/throwErrorException.php @@ -39,7 +39,7 @@ use ErrorException; * * @return bool Always returns FALSE when not throwing an exception * - * @throws \ErrorException + * @throws ErrorException */ function throwErrorException(int $severity = E_ALL, string $message = '', ?string $file = null, ?int $line = null): bool { diff --git a/src/InterfaceTrait/IteratorAggregate.php b/src/InterfaceTrait/IteratorAggregate.php index 4320088..7ec2d49 100644 --- a/src/InterfaceTrait/IteratorAggregate.php +++ b/src/InterfaceTrait/IteratorAggregate.php @@ -43,7 +43,7 @@ trait IteratorAggregate /* implements \IteratorAggregate */ * Retrieve an external iterator. * @see \IteratorAggregate::getIterator() * - * @return \ArrayIterator + * @return ArrayIterator */ public function getIterator(): ArrayIterator { diff --git a/src/Trait/Singleton.php b/src/Trait/Singleton.php index 494ce58..e209f6a 100644 --- a/src/Trait/Singleton.php +++ b/src/Trait/Singleton.php @@ -62,7 +62,7 @@ trait Singleton /** * This is a singleton class, thus cloning is prohibited. * - * @throws \LogicException + * @throws LogicException */ final public function __clone(): void {