Make namespaces more consistent

This commit is contained in:
Sebastian Meyer 2023-11-18 18:13:51 +01:00
parent 9f2f58556a
commit 7456e56266
9 changed files with 11 additions and 11 deletions

View File

@ -24,7 +24,7 @@ namespace OCC\Basics\DataStructures;
use InvalidArgumentException; use InvalidArgumentException;
use SplDoublyLinkedList; use SplDoublyLinkedList;
use OCC\Basics\Trait\Getter; use OCC\Basics\Traits\Getter;
/** /**
* A type-sensitive, taversable List. * A type-sensitive, taversable List.
@ -141,7 +141,7 @@ class StrictList extends SplDoublyLinkedList
/** /**
* Magic getter method for $this->allowedTypes. * Magic getter method for $this->allowedTypes.
* @see OCC\Basics\Trait\Getter * @see OCC\Basics\Traits\Getter
* *
* @return array The list of allowed item types * @return array The list of allowed item types
*/ */

View File

@ -20,14 +20,14 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\HelperFunction; namespace OCC\Basics\Functions;
use ErrorException; use ErrorException;
/** /**
* Converts an internal PHP error into an ErrorException. * Converts an internal PHP error into an ErrorException.
* *
* Usage: set_error_handler('\\OCC\\Basics\\HelperFunction\\throwErrorException'); * Usage: set_error_handler('\\OCC\\Basics\\Functions\\throwErrorException');
* *
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com> * @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
* @package opencultureconsulting/basics * @package opencultureconsulting/basics

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTrait; namespace OCC\Basics\InterfaceTraits;
/** /**
* A generic implementation of the ArrayAccess interface. * A generic implementation of the ArrayAccess interface.

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTrait; namespace OCC\Basics\InterfaceTraits;
/** /**
* A generic implementation of the Countable interface. * A generic implementation of the Countable interface.

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTrait; namespace OCC\Basics\InterfaceTraits;
/** /**
* A generic implementation of the Iterator interface. * A generic implementation of the Iterator interface.

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\InterfaceTrait; namespace OCC\Basics\InterfaceTraits;
use ArrayIterator; use ArrayIterator;

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\Trait; namespace OCC\Basics\Traits;
use InvalidArgumentException; use InvalidArgumentException;

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\Trait; namespace OCC\Basics\Traits;
use InvalidArgumentException; use InvalidArgumentException;

View File

@ -20,7 +20,7 @@
declare(strict_types=1); declare(strict_types=1);
namespace OCC\Basics\Trait; namespace OCC\Basics\Traits;
use LogicException; use LogicException;