Make namespaces more consistent
This commit is contained in:
parent
9f2f58556a
commit
7456e56266
|
@ -24,7 +24,7 @@ namespace OCC\Basics\DataStructures;
|
|||
|
||||
use InvalidArgumentException;
|
||||
use SplDoublyLinkedList;
|
||||
use OCC\Basics\Trait\Getter;
|
||||
use OCC\Basics\Traits\Getter;
|
||||
|
||||
/**
|
||||
* A type-sensitive, taversable List.
|
||||
|
@ -141,7 +141,7 @@ class StrictList extends SplDoublyLinkedList
|
|||
|
||||
/**
|
||||
* Magic getter method for $this->allowedTypes.
|
||||
* @see OCC\Basics\Trait\Getter
|
||||
* @see OCC\Basics\Traits\Getter
|
||||
*
|
||||
* @return array The list of allowed item types
|
||||
*/
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\HelperFunction;
|
||||
namespace OCC\Basics\Functions;
|
||||
|
||||
use 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>
|
||||
* @package opencultureconsulting/basics
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
|
||||
/**
|
||||
* A generic implementation of the ArrayAccess interface.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
|
||||
/**
|
||||
* A generic implementation of the Countable interface.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
|
||||
/**
|
||||
* A generic implementation of the Iterator interface.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
namespace OCC\Basics\InterfaceTraits;
|
||||
|
||||
use ArrayIterator;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Trait;
|
||||
namespace OCC\Basics\Traits;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Trait;
|
||||
namespace OCC\Basics\Traits;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Trait;
|
||||
namespace OCC\Basics\Traits;
|
||||
|
||||
use LogicException;
|
||||
|
Loading…
Reference in New Issue