Consolidate namespaces
This commit is contained in:
parent
b39a482136
commit
9266905a2b
|
@ -24,7 +24,7 @@ namespace OCC\Basics\DataStructures;
|
|||
|
||||
use InvalidArgumentException;
|
||||
use SplDoublyLinkedList;
|
||||
use OCC\Basics\Traits\Getter;
|
||||
use OCC\Basics\Trait\Getter;
|
||||
|
||||
/**
|
||||
* A type-sensitive, taversable List.
|
||||
|
@ -44,8 +44,7 @@ class StrictList extends SplDoublyLinkedList
|
|||
/**
|
||||
* Defines the allowed types for items.
|
||||
*
|
||||
* If empty, all types are allowed.
|
||||
* Possible values are:
|
||||
* If empty, all types are allowed. Possible values are:
|
||||
* - "array"
|
||||
* - "bool"
|
||||
* - "callable"
|
||||
|
@ -59,6 +58,7 @@ class StrictList extends SplDoublyLinkedList
|
|||
* - "resource"
|
||||
* - "scalar"
|
||||
* - "string"
|
||||
*
|
||||
* Fully qualified class names (FQCN) can be specified instead of the
|
||||
* generic type "object".
|
||||
*/
|
||||
|
@ -141,7 +141,7 @@ class StrictList extends SplDoublyLinkedList
|
|||
|
||||
/**
|
||||
* Magic getter method for $this->allowedTypes.
|
||||
* @see OCC\Basics\Traits\Getter
|
||||
* @see OCC\Basics\Trait\Getter
|
||||
*
|
||||
* @return array The list of allowed item types
|
||||
*/
|
||||
|
|
|
@ -20,14 +20,14 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Functions;
|
||||
namespace OCC\Basics\HelperFunction;
|
||||
|
||||
use ErrorException;
|
||||
|
||||
/**
|
||||
* Converts an internal PHP error into an ErrorException.
|
||||
*
|
||||
* Usage: set_error_handler('\\OCC\\Basics\\Functions\\throwErrorException');
|
||||
* Usage: set_error_handler('\\OCC\\Basics\\HelperFunction\\throwErrorException');
|
||||
*
|
||||
* @author Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
|
||||
* @package opencultureconsulting/basics
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
|
||||
/**
|
||||
* A generic implementation of the ArrayAccess interface.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
|
||||
/**
|
||||
* A generic implementation of the Countable interface.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
|
||||
/**
|
||||
* A generic implementation of the Iterator interface.
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\InterfaceTrait;
|
||||
|
||||
use ArrayIterator;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\Trait;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\Trait;
|
||||
|
||||
use InvalidArgumentException;
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace OCC\Basics\Traits;
|
||||
namespace OCC\Basics\Trait;
|
||||
|
||||
use LogicException;
|
||||
|
Loading…
Reference in New Issue