diff --git a/src/AbstractCollection.php b/src/AbstractCollection.php index 94670e4..3057886 100644 --- a/src/AbstractCollection.php +++ b/src/AbstractCollection.php @@ -10,12 +10,6 @@ use function is_array; use function is_null; -/** - * Class AbstractCollection - * - * @package Somnambulist\Components\Collection - * @subpackage Somnambulist\Components\Collection\AbstractCollection - */ abstract class AbstractCollection implements Collection { diff --git a/src/Behaviours/Aggregate/AggregateValues.php b/src/Behaviours/Aggregate/AggregateValues.php index bb937e2..3709df9 100644 --- a/src/Behaviours/Aggregate/AggregateValues.php +++ b/src/Behaviours/Aggregate/AggregateValues.php @@ -11,11 +11,6 @@ use function is_null; /** - * Trait AggregateValues - * - * @package Somnambulist\Components\Collection\Behaviours\Aggregate - * @subpackage Somnambulist\Components\Collection\Behaviours\Aggregate\AggregateValues - * * @property array $items */ trait AggregateValues diff --git a/src/Behaviours/Aggregate/CountBy.php b/src/Behaviours/Aggregate/CountBy.php index b4511f1..3442198 100644 --- a/src/Behaviours/Aggregate/CountBy.php +++ b/src/Behaviours/Aggregate/CountBy.php @@ -6,11 +6,6 @@ use function is_null; /** - * Trait CountBy - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Aggregate\CountBy - * * @property array $items */ trait CountBy diff --git a/src/Behaviours/Assertion/Assert.php b/src/Behaviours/Assertion/Assert.php index 7238006..dadeb55 100644 --- a/src/Behaviours/Assertion/Assert.php +++ b/src/Behaviours/Assertion/Assert.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Exceptions\AssertionFailedException; /** - * Trait Assert - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Assertion\Assert - * * @property array $items */ trait Assert diff --git a/src/Behaviours/CanAddAndRemoveItems.php b/src/Behaviours/CanAddAndRemoveItems.php index 9133fa8..bbdc8ba 100644 --- a/src/Behaviours/CanAddAndRemoveItems.php +++ b/src/Behaviours/CanAddAndRemoveItems.php @@ -3,11 +3,6 @@ namespace Somnambulist\Components\Collection\Behaviours; /** - * Trait CanAddAndRemoveItems - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\CanAddAndRemoveItems - * * @property array $items */ trait CanAddAndRemoveItems diff --git a/src/Behaviours/CannotAddDuplicateItems.php b/src/Behaviours/CannotAddDuplicateItems.php index 9a40204..cd07be9 100644 --- a/src/Behaviours/CannotAddDuplicateItems.php +++ b/src/Behaviours/CannotAddDuplicateItems.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Exceptions\DuplicateItemException; /** - * Trait CannotAddDuplicateItems - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\CannotAddDuplicateItems - * * @property array $items */ trait CannotAddDuplicateItems diff --git a/src/Behaviours/CannotAddOrRemoveItems.php b/src/Behaviours/CannotAddOrRemoveItems.php index 1e93a0c..9f0aa30 100644 --- a/src/Behaviours/CannotAddOrRemoveItems.php +++ b/src/Behaviours/CannotAddOrRemoveItems.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Exceptions\CollectionIsFrozenException; /** - * Trait CannotAddOrRemoveItems - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\CannotAddOrRemoveItems - * * @property array $items */ trait CannotAddOrRemoveItems diff --git a/src/Behaviours/Compare/DiffKeys.php b/src/Behaviours/Compare/DiffKeys.php index ffbbdbe..a7a7c8e 100644 --- a/src/Behaviours/Compare/DiffKeys.php +++ b/src/Behaviours/Compare/DiffKeys.php @@ -8,11 +8,6 @@ use function array_diff_ukey; /** - * Trait DiffKeys - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Compare\DiffKeys - * * @property array $items */ trait DiffKeys diff --git a/src/Behaviours/Compare/DiffValues.php b/src/Behaviours/Compare/DiffValues.php index 2af80c3..df90223 100644 --- a/src/Behaviours/Compare/DiffValues.php +++ b/src/Behaviours/Compare/DiffValues.php @@ -10,11 +10,6 @@ use function array_udiff; /** - * Trait DiffValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Compare\DiffValues - * * @property array $items */ trait DiffValues diff --git a/src/Behaviours/Compare/Intersect.php b/src/Behaviours/Compare/Intersect.php index cee261d..fcfd56e 100644 --- a/src/Behaviours/Compare/Intersect.php +++ b/src/Behaviours/Compare/Intersect.php @@ -8,11 +8,6 @@ use function array_intersect_key; /** - * Trait Intersect - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Compare\Intersect - * * @property array $items */ trait Intersect diff --git a/src/Behaviours/Export/ExportToArray.php b/src/Behaviours/Export/ExportToArray.php index fa03a67..10b9190 100644 --- a/src/Behaviours/Export/ExportToArray.php +++ b/src/Behaviours/Export/ExportToArray.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait ExportToArray - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Export\ExportToArray - * * @property array $items */ trait ExportToArray diff --git a/src/Behaviours/Export/ExportToJson.php b/src/Behaviours/Export/ExportToJson.php index cbbf03b..a5a4866 100644 --- a/src/Behaviours/Export/ExportToJson.php +++ b/src/Behaviours/Export/ExportToJson.php @@ -5,11 +5,6 @@ use function json_encode; /** - * Trait ExportToJson - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Export\ExportToJson - * * @property array $items */ trait ExportToJson diff --git a/src/Behaviours/Export/ExportToQueryString.php b/src/Behaviours/Export/ExportToQueryString.php index 62fdd3c..f0c0e08 100644 --- a/src/Behaviours/Export/ExportToQueryString.php +++ b/src/Behaviours/Export/ExportToQueryString.php @@ -5,11 +5,6 @@ use function http_build_query; /** - * Trait ExportToQueryString - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Export\ExportToQueryString - * * @property array $items */ trait ExportToQueryString diff --git a/src/Behaviours/Export/ExportToString.php b/src/Behaviours/Export/ExportToString.php index 34bd2c3..70cfa26 100644 --- a/src/Behaviours/Export/ExportToString.php +++ b/src/Behaviours/Export/ExportToString.php @@ -7,11 +7,6 @@ use function sprintf; /** - * Trait ExportToString - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Export\ExportToString - * * @property array $items */ trait ExportToString diff --git a/src/Behaviours/Export/JsonSerialize.php b/src/Behaviours/Export/JsonSerialize.php index 9a08248..2216c78 100644 --- a/src/Behaviours/Export/JsonSerialize.php +++ b/src/Behaviours/Export/JsonSerialize.php @@ -3,11 +3,6 @@ namespace Somnambulist\Components\Collection\Behaviours\Export; /** - * Trait JsonSerialize - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Export\JsonSerialize - * * @property array $items */ trait JsonSerialize diff --git a/src/Behaviours/Export/Serializable.php b/src/Behaviours/Export/Serializable.php index 3a708de..ddaaff6 100644 --- a/src/Behaviours/Export/Serializable.php +++ b/src/Behaviours/Export/Serializable.php @@ -9,11 +9,6 @@ use function unserialize; /** - * Trait Serializable - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Export\Serializable - * * @property array $items */ trait Serializable diff --git a/src/Behaviours/Freezeable.php b/src/Behaviours/Freezeable.php index 23c5abe..fd74b41 100644 --- a/src/Behaviours/Freezeable.php +++ b/src/Behaviours/Freezeable.php @@ -7,11 +7,6 @@ use Somnambulist\Components\Collection\Utils\ClassUtils; /** - * Trait Freezeable - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Freezeable - * * @property array $items */ trait Freezeable diff --git a/src/Behaviours/MapReduce/Collapse.php b/src/Behaviours/MapReduce/Collapse.php index 2e422a2..2d2a79e 100644 --- a/src/Behaviours/MapReduce/Collapse.php +++ b/src/Behaviours/MapReduce/Collapse.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait Collapse - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\MapReduce\Collapse - * * @property array $items */ trait Collapse diff --git a/src/Behaviours/MapReduce/FlatMap.php b/src/Behaviours/MapReduce/FlatMap.php index 8b49d4f..df84412 100644 --- a/src/Behaviours/MapReduce/FlatMap.php +++ b/src/Behaviours/MapReduce/FlatMap.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait FlatMap - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\MapReduce\FlatMap - * * @property array $items */ trait FlatMap diff --git a/src/Behaviours/MapReduce/Flatten.php b/src/Behaviours/MapReduce/Flatten.php index 1836b41..ab2e404 100644 --- a/src/Behaviours/MapReduce/Flatten.php +++ b/src/Behaviours/MapReduce/Flatten.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait Flatten - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\MapReduce\Flatten - * * @property array $items */ trait Flatten diff --git a/src/Behaviours/MapReduce/Map.php b/src/Behaviours/MapReduce/Map.php index e308403..83d2db3 100644 --- a/src/Behaviours/MapReduce/Map.php +++ b/src/Behaviours/MapReduce/Map.php @@ -9,11 +9,6 @@ use function array_map; /** - * Trait Map - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\MapReduce\Map - * * @property array $items */ trait Map diff --git a/src/Behaviours/MapReduce/MapInto.php b/src/Behaviours/MapReduce/MapInto.php index 816fc7d..4db5ebe 100644 --- a/src/Behaviours/MapReduce/MapInto.php +++ b/src/Behaviours/MapReduce/MapInto.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait MapInto - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\MapReduce\MapInto - * * @property array $items */ trait MapInto diff --git a/src/Behaviours/MapReduce/Reduce.php b/src/Behaviours/MapReduce/Reduce.php index 5ded182..3304129 100644 --- a/src/Behaviours/MapReduce/Reduce.php +++ b/src/Behaviours/MapReduce/Reduce.php @@ -5,11 +5,6 @@ use function array_reduce; /** - * Trait Reduce - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\MapReduce\Reduce - * * @property array $items */ trait Reduce diff --git a/src/Behaviours/Mutate/AppendOnlyUniqueValues.php b/src/Behaviours/Mutate/AppendOnlyUniqueValues.php index 5d6a06b..8a1b71b 100644 --- a/src/Behaviours/Mutate/AppendOnlyUniqueValues.php +++ b/src/Behaviours/Mutate/AppendOnlyUniqueValues.php @@ -7,11 +7,6 @@ use function array_push; /** - * Trait AppendOnlyUniqueValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\AppendOnlyUniqueValues - * * @property array $items */ trait AppendOnlyUniqueValues diff --git a/src/Behaviours/Mutate/AppendValues.php b/src/Behaviours/Mutate/AppendValues.php index 0844656..e8f3322 100644 --- a/src/Behaviours/Mutate/AppendValues.php +++ b/src/Behaviours/Mutate/AppendValues.php @@ -6,11 +6,6 @@ use function array_push; /** - * Trait AppendValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\AppendValues - * * @property array $items */ trait AppendValues diff --git a/src/Behaviours/Mutate/Clear.php b/src/Behaviours/Mutate/Clear.php index d6ee4b8..d8425ab 100644 --- a/src/Behaviours/Mutate/Clear.php +++ b/src/Behaviours/Mutate/Clear.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait Clear - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Clear - * * @property array $items */ trait Clear diff --git a/src/Behaviours/Mutate/CombineOnlyUniqueValues.php b/src/Behaviours/Mutate/CombineOnlyUniqueValues.php index b08e001..f6628e3 100644 --- a/src/Behaviours/Mutate/CombineOnlyUniqueValues.php +++ b/src/Behaviours/Mutate/CombineOnlyUniqueValues.php @@ -8,11 +8,6 @@ use function array_combine; /** - * Trait CombineOnlyUniqueValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\CombineOnlyUniqueValues - * * @property array $items */ trait CombineOnlyUniqueValues diff --git a/src/Behaviours/Mutate/CombineValues.php b/src/Behaviours/Mutate/CombineValues.php index 66086cd..33b7aac 100644 --- a/src/Behaviours/Mutate/CombineValues.php +++ b/src/Behaviours/Mutate/CombineValues.php @@ -7,11 +7,6 @@ use function array_combine; /** - * Trait CombineValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\CombineValues - * * @property array $items */ trait CombineValues diff --git a/src/Behaviours/Mutate/Fill.php b/src/Behaviours/Mutate/Fill.php index 89882fb..92805b5 100644 --- a/src/Behaviours/Mutate/Fill.php +++ b/src/Behaviours/Mutate/Fill.php @@ -7,11 +7,6 @@ use function array_fill_keys; /** - * Trait Fill - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Fill - * * @property array $items */ trait Fill diff --git a/src/Behaviours/Mutate/Flip.php b/src/Behaviours/Mutate/Flip.php index e0a2e33..e236622 100644 --- a/src/Behaviours/Mutate/Flip.php +++ b/src/Behaviours/Mutate/Flip.php @@ -6,11 +6,6 @@ use function array_flip; /** - * Trait Flip - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Flip - * * @property array $items */ trait Flip diff --git a/src/Behaviours/Mutate/MergeOnlyUniqueValues.php b/src/Behaviours/Mutate/MergeOnlyUniqueValues.php index bcbe48e..c6e5b40 100644 --- a/src/Behaviours/Mutate/MergeOnlyUniqueValues.php +++ b/src/Behaviours/Mutate/MergeOnlyUniqueValues.php @@ -7,11 +7,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait MergeOnlyUniqueValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\MergeOnlyUniqueValues - * * @property array $items */ trait MergeOnlyUniqueValues diff --git a/src/Behaviours/Mutate/MergeValues.php b/src/Behaviours/Mutate/MergeValues.php index 59c09d0..ee59ed1 100644 --- a/src/Behaviours/Mutate/MergeValues.php +++ b/src/Behaviours/Mutate/MergeValues.php @@ -7,11 +7,6 @@ use function array_merge; /** - * Trait MergeValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\MergeValues - * * @property array $items */ trait MergeValues diff --git a/src/Behaviours/Mutate/Pad.php b/src/Behaviours/Mutate/Pad.php index 2dada1d..b240c3e 100644 --- a/src/Behaviours/Mutate/Pad.php +++ b/src/Behaviours/Mutate/Pad.php @@ -6,11 +6,6 @@ use function array_pad; /** - * Trait Pad - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Pad - * * @property array $items */ trait Pad diff --git a/src/Behaviours/Mutate/Pop.php b/src/Behaviours/Mutate/Pop.php index 9a37e1e..423bed3 100644 --- a/src/Behaviours/Mutate/Pop.php +++ b/src/Behaviours/Mutate/Pop.php @@ -6,11 +6,6 @@ use function is_array; /** - * Trait Pop - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Pop - * * @property array $items */ trait Pop diff --git a/src/Behaviours/Mutate/PrependOnlyUniqueValues.php b/src/Behaviours/Mutate/PrependOnlyUniqueValues.php index 796a414..8653152 100644 --- a/src/Behaviours/Mutate/PrependOnlyUniqueValues.php +++ b/src/Behaviours/Mutate/PrependOnlyUniqueValues.php @@ -7,11 +7,6 @@ use function array_unshift; /** - * Trait PrependOnlyUniqueValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\PrependOnlyUniqueValues - * * @property array $items */ trait PrependOnlyUniqueValues diff --git a/src/Behaviours/Mutate/PrependValues.php b/src/Behaviours/Mutate/PrependValues.php index 0ca25e6..55a109f 100644 --- a/src/Behaviours/Mutate/PrependValues.php +++ b/src/Behaviours/Mutate/PrependValues.php @@ -6,11 +6,6 @@ use function array_unshift; /** - * Trait PrependValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\PrependValues - * * @property array $items */ trait PrependValues diff --git a/src/Behaviours/Mutate/RemapKeys.php b/src/Behaviours/Mutate/RemapKeys.php index 39c9e3f..d0c6f5a 100644 --- a/src/Behaviours/Mutate/RemapKeys.php +++ b/src/Behaviours/Mutate/RemapKeys.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait RemapKeys - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\RemapKeys - * * @property array $items */ trait RemapKeys diff --git a/src/Behaviours/Mutate/RemoveValue.php b/src/Behaviours/Mutate/RemoveValue.php index a27ed8a..45547b2 100644 --- a/src/Behaviours/Mutate/RemoveValue.php +++ b/src/Behaviours/Mutate/RemoveValue.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait RemoveValue - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\RemoveValue - * * @property array $items */ trait RemoveValue diff --git a/src/Behaviours/Mutate/ReplaceValues.php b/src/Behaviours/Mutate/ReplaceValues.php index cc5c340..f25f2d4 100644 --- a/src/Behaviours/Mutate/ReplaceValues.php +++ b/src/Behaviours/Mutate/ReplaceValues.php @@ -7,11 +7,6 @@ use function array_replace_recursive; /** - * Trait ReplaceValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\ReplaceValues - * * @property array $items */ trait ReplaceValues diff --git a/src/Behaviours/Mutate/Reverse.php b/src/Behaviours/Mutate/Reverse.php index 042eaea..6b23b59 100644 --- a/src/Behaviours/Mutate/Reverse.php +++ b/src/Behaviours/Mutate/Reverse.php @@ -6,11 +6,6 @@ use function array_reverse; /** - * Trait Reverse - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Reverse - * * @property array $items */ trait Reverse diff --git a/src/Behaviours/Mutate/SetKeyValue.php b/src/Behaviours/Mutate/SetKeyValue.php index beb4dc5..4111fc7 100644 --- a/src/Behaviours/Mutate/SetKeyValue.php +++ b/src/Behaviours/Mutate/SetKeyValue.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait SetKeyValue - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\SetKeyValue - * * @property array $items */ trait SetKeyValue diff --git a/src/Behaviours/Mutate/Shift.php b/src/Behaviours/Mutate/Shift.php index 3007b1f..83781cb 100644 --- a/src/Behaviours/Mutate/Shift.php +++ b/src/Behaviours/Mutate/Shift.php @@ -6,11 +6,6 @@ use function is_array; /** - * Trait Shift - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Shift - * * @property array $items */ trait Shift diff --git a/src/Behaviours/Mutate/Shuffle.php b/src/Behaviours/Mutate/Shuffle.php index 204ccdb..b9d7461 100644 --- a/src/Behaviours/Mutate/Shuffle.php +++ b/src/Behaviours/Mutate/Shuffle.php @@ -6,11 +6,6 @@ use function shuffle; /** - * Trait Shuffle - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\Shuffle - * * @property array $items */ trait Shuffle diff --git a/src/Behaviours/Mutate/ShuffleNewCollection.php b/src/Behaviours/Mutate/ShuffleNewCollection.php index 6a5546b..5553926 100644 --- a/src/Behaviours/Mutate/ShuffleNewCollection.php +++ b/src/Behaviours/Mutate/ShuffleNewCollection.php @@ -6,11 +6,6 @@ use function shuffle; /** - * Trait ShuffleNewCollection - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\ShuffleNewCollection - * * @property array $items */ trait ShuffleNewCollection diff --git a/src/Behaviours/Mutate/UnionOnlyUniqueValues.php b/src/Behaviours/Mutate/UnionOnlyUniqueValues.php index 23685bb..3cdfe26 100644 --- a/src/Behaviours/Mutate/UnionOnlyUniqueValues.php +++ b/src/Behaviours/Mutate/UnionOnlyUniqueValues.php @@ -7,11 +7,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait UnionOnlyUniqueValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\UnionOnlyUniqueValues - * * @property array $items */ trait UnionOnlyUniqueValues diff --git a/src/Behaviours/Mutate/UnionValues.php b/src/Behaviours/Mutate/UnionValues.php index a64d359..df33915 100644 --- a/src/Behaviours/Mutate/UnionValues.php +++ b/src/Behaviours/Mutate/UnionValues.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait UnionValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\UnionValues - * * @property array $items */ trait UnionValues diff --git a/src/Behaviours/Mutate/UnsetKey.php b/src/Behaviours/Mutate/UnsetKey.php index 9109100..a69af3c 100644 --- a/src/Behaviours/Mutate/UnsetKey.php +++ b/src/Behaviours/Mutate/UnsetKey.php @@ -4,12 +4,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; -/** - * Trait UnsetKey - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\UnsetKey - */ trait UnsetKey { diff --git a/src/Behaviours/Mutate/When.php b/src/Behaviours/Mutate/When.php index 655abd7..ad20331 100644 --- a/src/Behaviours/Mutate/When.php +++ b/src/Behaviours/Mutate/When.php @@ -6,11 +6,6 @@ use function is_null; /** - * Trait When - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Mutate\When - * * @property array $items */ trait When diff --git a/src/Behaviours/Partition/GroupBy.php b/src/Behaviours/Partition/GroupBy.php index bd19eec..0274506 100644 --- a/src/Behaviours/Partition/GroupBy.php +++ b/src/Behaviours/Partition/GroupBy.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait GroupBy - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Partition\GroupBy - * * @property array $items */ trait GroupBy diff --git a/src/Behaviours/Partition/Partition.php b/src/Behaviours/Partition/Partition.php index f8f602d..32e21d1 100644 --- a/src/Behaviours/Partition/Partition.php +++ b/src/Behaviours/Partition/Partition.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait Partition - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Partition\Partition - * * @property array $items */ trait Partition diff --git a/src/Behaviours/Partition/Slice.php b/src/Behaviours/Partition/Slice.php index 9d81a4f..f963fa6 100644 --- a/src/Behaviours/Partition/Slice.php +++ b/src/Behaviours/Partition/Slice.php @@ -6,11 +6,6 @@ use function array_slice; /** - * Trait Slice - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Partition\Slice - * * @property array $items */ trait Slice diff --git a/src/Behaviours/Partition/Splice.php b/src/Behaviours/Partition/Splice.php index cbc25b9..68bb311 100644 --- a/src/Behaviours/Partition/Splice.php +++ b/src/Behaviours/Partition/Splice.php @@ -7,11 +7,6 @@ use function func_num_args; /** - * Trait Splice - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Partition\Splice - * * @property array $items */ trait Splice diff --git a/src/Behaviours/Pipes/Pipe.php b/src/Behaviours/Pipes/Pipe.php index 50b4198..5c6bcaf 100644 --- a/src/Behaviours/Pipes/Pipe.php +++ b/src/Behaviours/Pipes/Pipe.php @@ -3,11 +3,6 @@ namespace Somnambulist\Components\Collection\Behaviours\Pipes; /** - * Trait Pipe - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Pipes\Pipe - * * @property array $items */ trait Pipe diff --git a/src/Behaviours/Pipes/Pipeline.php b/src/Behaviours/Pipes/Pipeline.php index 1237c14..4a6e8b8 100644 --- a/src/Behaviours/Pipes/Pipeline.php +++ b/src/Behaviours/Pipes/Pipeline.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait Pipeline - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Pipes\Pipeline - * * @property array $items */ trait Pipeline diff --git a/src/Behaviours/Pipes/RunCallableOnValues.php b/src/Behaviours/Pipes/RunCallableOnValues.php index abad068..9f99fad 100644 --- a/src/Behaviours/Pipes/RunCallableOnValues.php +++ b/src/Behaviours/Pipes/RunCallableOnValues.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait RunCallableOnValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Pipes\RunCallableOnValues - * * @property array $items */ trait RunCallableOnValues diff --git a/src/Behaviours/Pipes/RunMethodOnValues.php b/src/Behaviours/Pipes/RunMethodOnValues.php index df2d11a..bc7fcbb 100644 --- a/src/Behaviours/Pipes/RunMethodOnValues.php +++ b/src/Behaviours/Pipes/RunMethodOnValues.php @@ -12,11 +12,6 @@ use function method_exists; /** - * Trait RunMethodOnValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Pipes\RunMethodOnValues - * * @property array $items */ trait RunMethodOnValues diff --git a/src/Behaviours/Proxyable.php b/src/Behaviours/Proxyable.php index 83cd1c6..a797e69 100644 --- a/src/Behaviours/Proxyable.php +++ b/src/Behaviours/Proxyable.php @@ -9,11 +9,6 @@ use function is_callable; /** - * Trait Proxyable - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Proxyable - * * @property array $items */ trait Proxyable diff --git a/src/Behaviours/Query/All.php b/src/Behaviours/Query/All.php index 4daa35a..75d2547 100644 --- a/src/Behaviours/Query/All.php +++ b/src/Behaviours/Query/All.php @@ -3,11 +3,6 @@ namespace Somnambulist\Components\Collection\Behaviours\Query; /** - * Trait All - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\All - * * @property array $items */ trait All diff --git a/src/Behaviours/Query/Contains.php b/src/Behaviours/Query/Contains.php index b715212..99014c4 100644 --- a/src/Behaviours/Query/Contains.php +++ b/src/Behaviours/Query/Contains.php @@ -5,11 +5,6 @@ use function in_array; /** - * Trait Contains - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Contains - * * @property array $items */ trait Contains diff --git a/src/Behaviours/Query/Extract.php b/src/Behaviours/Query/Extract.php index e3d99f6..083ce0e 100644 --- a/src/Behaviours/Query/Extract.php +++ b/src/Behaviours/Query/Extract.php @@ -6,11 +6,6 @@ use Somnambulist\Components\Collection\Utils\KeyWalker; /** - * Trait Extract - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Extract - * * @property array $items */ trait Extract diff --git a/src/Behaviours/Query/FilterByKey.php b/src/Behaviours/Query/FilterByKey.php index c94f447..c7f4a12 100644 --- a/src/Behaviours/Query/FilterByKey.php +++ b/src/Behaviours/Query/FilterByKey.php @@ -8,11 +8,6 @@ use function preg_match; /** - * Trait FilterByKey - * - * @package Somnambulist\Components\Collection\Behaviours\Search - * @subpackage Somnambulist\Components\Collection\Behaviours\Search\FilterByKey - * * @property array $items */ trait FilterByKey diff --git a/src/Behaviours/Query/FilterValues.php b/src/Behaviours/Query/FilterValues.php index 2c9a093..9af0459 100644 --- a/src/Behaviours/Query/FilterValues.php +++ b/src/Behaviours/Query/FilterValues.php @@ -8,11 +8,6 @@ use function preg_match; /** - * Trait FilterValues - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\FilterValues - * * @property array $items */ trait FilterValues diff --git a/src/Behaviours/Query/Find.php b/src/Behaviours/Query/Find.php index eec2e52..1aad181 100644 --- a/src/Behaviours/Query/Find.php +++ b/src/Behaviours/Query/Find.php @@ -3,11 +3,6 @@ namespace Somnambulist\Components\Collection\Behaviours\Query; /** - * Trait Find - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Find - * * @property array $items */ trait Find diff --git a/src/Behaviours/Query/First.php b/src/Behaviours/Query/First.php index f0b4b55..4718007 100644 --- a/src/Behaviours/Query/First.php +++ b/src/Behaviours/Query/First.php @@ -8,11 +8,6 @@ use function reset; /** - * Trait First - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\First - * * @property array $items */ trait First diff --git a/src/Behaviours/Query/GetValue.php b/src/Behaviours/Query/GetValue.php index 585ec18..71c94ad 100644 --- a/src/Behaviours/Query/GetValue.php +++ b/src/Behaviours/Query/GetValue.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Trait GetValue - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\GetValue - * * @property array $items */ trait GetValue diff --git a/src/Behaviours/Query/GetValueWithDotNotation.php b/src/Behaviours/Query/GetValueWithDotNotation.php index 3a54848..9db8cc2 100644 --- a/src/Behaviours/Query/GetValueWithDotNotation.php +++ b/src/Behaviours/Query/GetValueWithDotNotation.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Utils\KeyWalker; /** - * Trait GetValueWithDotNotation - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\GetValueWithDotNotation - * * @property array $items */ trait GetValueWithDotNotation diff --git a/src/Behaviours/Query/HasKey.php b/src/Behaviours/Query/HasKey.php index 3430c31..0dd812a 100644 --- a/src/Behaviours/Query/HasKey.php +++ b/src/Behaviours/Query/HasKey.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Behaviours\Query; -/** - * Trait HasKey - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\HasKey - */ trait HasKey { diff --git a/src/Behaviours/Query/HasKeyWithDotNotation.php b/src/Behaviours/Query/HasKeyWithDotNotation.php index ccde29c..6b2971c 100644 --- a/src/Behaviours/Query/HasKeyWithDotNotation.php +++ b/src/Behaviours/Query/HasKeyWithDotNotation.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Utils\KeyWalker; /** - * Trait HasKeyWithDotNotation - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\HasKeyWithDotNotation - * * @property array $items */ trait HasKeyWithDotNotation diff --git a/src/Behaviours/Query/Keys.php b/src/Behaviours/Query/Keys.php index 19d7114..b857d78 100644 --- a/src/Behaviours/Query/Keys.php +++ b/src/Behaviours/Query/Keys.php @@ -6,11 +6,6 @@ use function array_keys; /** - * Trait Keys - * - * @package Somnambulist\Components\Collection\Behaviours\Query - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Keys - * * @property array $items */ trait Keys diff --git a/src/Behaviours/Query/Last.php b/src/Behaviours/Query/Last.php index 86f303c..ea74c35 100644 --- a/src/Behaviours/Query/Last.php +++ b/src/Behaviours/Query/Last.php @@ -8,11 +8,6 @@ use function is_array; /** - * Trait Last - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Last - * * @property array $items */ trait Last diff --git a/src/Behaviours/Query/RandomValue.php b/src/Behaviours/Query/RandomValue.php index e7a9be7..555ad6c 100644 --- a/src/Behaviours/Query/RandomValue.php +++ b/src/Behaviours/Query/RandomValue.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Behaviours\Query; -/** - * Trait RandomValue - * - * @package Somnambulist\Components\Collection\Behaviours\Query - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\RandomValue - */ trait RandomValue { diff --git a/src/Behaviours/Query/RemoveEmpty.php b/src/Behaviours/Query/RemoveEmpty.php index c952076..8c01d49 100644 --- a/src/Behaviours/Query/RemoveEmpty.php +++ b/src/Behaviours/Query/RemoveEmpty.php @@ -6,11 +6,6 @@ use function in_array; /** - * Trait RemoveEmpty - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\RemoveEmpty - * * @property array $items */ trait RemoveEmpty diff --git a/src/Behaviours/Query/RemoveNulls.php b/src/Behaviours/Query/RemoveNulls.php index d662fed..5320554 100644 --- a/src/Behaviours/Query/RemoveNulls.php +++ b/src/Behaviours/Query/RemoveNulls.php @@ -6,11 +6,6 @@ use function is_null; /** - * Trait RemoveNulls - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\RemoveNulls - * * @property array $items */ trait RemoveNulls diff --git a/src/Behaviours/Query/Sort.php b/src/Behaviours/Query/Sort.php index 78cde19..c7141a0 100644 --- a/src/Behaviours/Query/Sort.php +++ b/src/Behaviours/Query/Sort.php @@ -9,11 +9,6 @@ use const SORT_STRING; /** - * Trait Sort - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Sort - * * @property array $items */ trait Sort diff --git a/src/Behaviours/Query/Unique.php b/src/Behaviours/Query/Unique.php index cfc6289..543c9ed 100644 --- a/src/Behaviours/Query/Unique.php +++ b/src/Behaviours/Query/Unique.php @@ -6,11 +6,6 @@ use function array_unique; /** - * Trait Unique - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Unique - * * @property array $items */ trait Unique diff --git a/src/Behaviours/Query/Value.php b/src/Behaviours/Query/Value.php index 361f9cb..0828f63 100644 --- a/src/Behaviours/Query/Value.php +++ b/src/Behaviours/Query/Value.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Utils\Value as ValueHelper; /** - * Trait Value - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Value - * * @property array $items */ trait Value diff --git a/src/Behaviours/Query/Values.php b/src/Behaviours/Query/Values.php index c66848d..10f5590 100644 --- a/src/Behaviours/Query/Values.php +++ b/src/Behaviours/Query/Values.php @@ -6,11 +6,6 @@ use function array_values; /** - * Trait Values - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Query\Values - * * @property array $items */ trait Values diff --git a/src/Behaviours/Strings/Capitalize.php b/src/Behaviours/Strings/Capitalize.php index f870468..2253224 100644 --- a/src/Behaviours/Strings/Capitalize.php +++ b/src/Behaviours/Strings/Capitalize.php @@ -7,11 +7,6 @@ use function ucwords; /** - * Trait Capitalize - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Strings\Capitalize - * * @property array $items */ trait Capitalize diff --git a/src/Behaviours/Strings/Lower.php b/src/Behaviours/Strings/Lower.php index 24bde1f..af529b2 100644 --- a/src/Behaviours/Strings/Lower.php +++ b/src/Behaviours/Strings/Lower.php @@ -7,11 +7,6 @@ use function strtolower; /** - * Trait Lower - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Strings\Lower - * * @property array $items */ trait Lower diff --git a/src/Behaviours/Strings/Trim.php b/src/Behaviours/Strings/Trim.php index 671505e..a1ad58c 100644 --- a/src/Behaviours/Strings/Trim.php +++ b/src/Behaviours/Strings/Trim.php @@ -5,11 +5,6 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Trait Trim - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Strings\Trim - * * @property array $items */ trait Trim diff --git a/src/Behaviours/Strings/Upper.php b/src/Behaviours/Strings/Upper.php index 4523bf0..a0a5860 100644 --- a/src/Behaviours/Strings/Upper.php +++ b/src/Behaviours/Strings/Upper.php @@ -7,11 +7,6 @@ use function strtoupper; /** - * Trait Upper - * - * @package Somnambulist\Components\Collection\Behaviours - * @subpackage Somnambulist\Components\Collection\Behaviours\Strings\upper - * * @property array $items */ trait Upper diff --git a/src/Contracts/Arrayable.php b/src/Contracts/Arrayable.php index 85c1bd3..6628878 100644 --- a/src/Contracts/Arrayable.php +++ b/src/Contracts/Arrayable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Arrayable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Arrayable - */ interface Arrayable { diff --git a/src/Contracts/Assertable.php b/src/Contracts/Assertable.php index 8a7d6b8..ea1a317 100644 --- a/src/Contracts/Assertable.php +++ b/src/Contracts/Assertable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Assertable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Assertable - */ interface Assertable { diff --git a/src/Contracts/CanAggregateItems.php b/src/Contracts/CanAggregateItems.php index 06936c9..b14a551 100644 --- a/src/Contracts/CanAggregateItems.php +++ b/src/Contracts/CanAggregateItems.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface CanAggregateItems - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\CanAggregateItems - */ interface CanAggregateItems { diff --git a/src/Contracts/CanManipulateStrings.php b/src/Contracts/CanManipulateStrings.php index c3d11ae..6646cc6 100644 --- a/src/Contracts/CanManipulateStrings.php +++ b/src/Contracts/CanManipulateStrings.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface CanManipulateStrings - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\CanManipulateStrings - */ interface CanManipulateStrings { diff --git a/src/Contracts/Collection.php b/src/Contracts/Collection.php index 01a96e5..8377119 100644 --- a/src/Contracts/Collection.php +++ b/src/Contracts/Collection.php @@ -6,12 +6,6 @@ use Countable; use IteratorAggregate; -/** - * Interface Collection - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Collection - */ interface Collection extends ArrayAccess, IteratorAggregate, Countable, Arrayable, Jsonable { diff --git a/src/Contracts/Comparable.php b/src/Contracts/Comparable.php index 0a385ea..fac8626 100644 --- a/src/Contracts/Comparable.php +++ b/src/Contracts/Comparable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Diffable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Diffable - */ interface Comparable { diff --git a/src/Contracts/Filterable.php b/src/Contracts/Filterable.php index 74f4899..b7d9927 100644 --- a/src/Contracts/Filterable.php +++ b/src/Contracts/Filterable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Filterable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Filterable - */ interface Filterable { diff --git a/src/Contracts/Freezable.php b/src/Contracts/Freezable.php index cdd1c9e..6c9a922 100644 --- a/src/Contracts/Freezable.php +++ b/src/Contracts/Freezable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Freezable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Freezable - */ interface Freezable { diff --git a/src/Contracts/Immutable.php b/src/Contracts/Immutable.php index b445930..5cab6d0 100644 --- a/src/Contracts/Immutable.php +++ b/src/Contracts/Immutable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Immutable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Immutable - */ interface Immutable extends Collection { diff --git a/src/Contracts/Jsonable.php b/src/Contracts/Jsonable.php index 3c88174..f0b09bb 100644 --- a/src/Contracts/Jsonable.php +++ b/src/Contracts/Jsonable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Jsonable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Jsonable - */ interface Jsonable { diff --git a/src/Contracts/Mappable.php b/src/Contracts/Mappable.php index 6843751..e8f9107 100644 --- a/src/Contracts/Mappable.php +++ b/src/Contracts/Mappable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Mappable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Mappable - */ interface Mappable { diff --git a/src/Contracts/Mutable.php b/src/Contracts/Mutable.php index d510932..5c65700 100644 --- a/src/Contracts/Mutable.php +++ b/src/Contracts/Mutable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Mutable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Mutable - */ interface Mutable extends Collection { diff --git a/src/Contracts/Runnable.php b/src/Contracts/Runnable.php index 8ad47ec..b2d1429 100644 --- a/src/Contracts/Runnable.php +++ b/src/Contracts/Runnable.php @@ -5,12 +5,6 @@ use BadMethodCallException; use RuntimeException; -/** - * Interface Runnable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Runnable - */ interface Runnable { diff --git a/src/Contracts/Serializable.php b/src/Contracts/Serializable.php index 16d0967..f4d2293 100644 --- a/src/Contracts/Serializable.php +++ b/src/Contracts/Serializable.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Contracts; -/** - * Interface Serializable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Serializable - */ interface Serializable { diff --git a/src/Contracts/Sortable.php b/src/Contracts/Sortable.php index 1496cca..26715ae 100644 --- a/src/Contracts/Sortable.php +++ b/src/Contracts/Sortable.php @@ -4,12 +4,6 @@ use const SORT_STRING; -/** - * Interface Sortable - * - * @package Somnambulist\Components\Collection\Contracts - * @subpackage Somnambulist\Components\Collection\Contracts\Sortable - */ interface Sortable { diff --git a/src/Exceptions/AssertionFailedException.php b/src/Exceptions/AssertionFailedException.php index c5034dc..beab765 100644 --- a/src/Exceptions/AssertionFailedException.php +++ b/src/Exceptions/AssertionFailedException.php @@ -8,12 +8,6 @@ use function is_object; use function sprintf; -/** - * Class AssertionFailedException - * - * @package Somnambulist\Components\Collection\Exceptions - * @subpackage Somnambulist\Components\Collection\Exceptions\AssertionFailedException - */ class AssertionFailedException extends Exception { diff --git a/src/Exceptions/CollectionIsFrozenException.php b/src/Exceptions/CollectionIsFrozenException.php index dfeb42c..1b8a871 100644 --- a/src/Exceptions/CollectionIsFrozenException.php +++ b/src/Exceptions/CollectionIsFrozenException.php @@ -5,12 +5,6 @@ use DomainException; use function sprintf; -/** - * Class CollectionIsFrozenException - * - * @package Somnambulist\Components\Collection\Exceptions - * @subpackage Somnambulist\Components\Collection\Exceptions\CollectionIsFrozenException - */ class CollectionIsFrozenException extends DomainException { diff --git a/src/Exceptions/DuplicateItemException.php b/src/Exceptions/DuplicateItemException.php index 18cc02d..ded0e44 100644 --- a/src/Exceptions/DuplicateItemException.php +++ b/src/Exceptions/DuplicateItemException.php @@ -8,12 +8,6 @@ use function is_object; use function sprintf; -/** - * Class DuplicateItemException - * - * @package Somnambulist\Components\Collection\Exceptions - * @subpackage Somnambulist\Components\Collection\Exceptions\DuplicateItemException - */ class DuplicateItemException extends DomainException { diff --git a/src/FrozenCollection.php b/src/FrozenCollection.php index 9300f86..8776aa7 100644 --- a/src/FrozenCollection.php +++ b/src/FrozenCollection.php @@ -27,11 +27,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Class FrozenCollection - * - * @package Somnambulist\Components\Collection - * @subpackage Somnambulist\Components\Collection\FrozenCollection - * * @property-read MapProxy $map * @property-read RunProxy $run */ diff --git a/src/Groups/Aggregates.php b/src/Groups/Aggregates.php index 38cbecc..246a652 100644 --- a/src/Groups/Aggregates.php +++ b/src/Groups/Aggregates.php @@ -5,12 +5,6 @@ use Somnambulist\Components\Collection\Behaviours\Aggregate\AggregateValues; use Somnambulist\Components\Collection\Behaviours\Aggregate\CountBy; -/** - * Trait Aggregates - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Aggregates - */ trait Aggregates { diff --git a/src/Groups/Assertable.php b/src/Groups/Assertable.php index 4892749..79513a4 100644 --- a/src/Groups/Assertable.php +++ b/src/Groups/Assertable.php @@ -4,12 +4,6 @@ use Somnambulist\Components\Collection\Behaviours\Assertion\Assert; -/** - * Trait Assertable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Assertable - */ trait Assertable { diff --git a/src/Groups/Comparable.php b/src/Groups/Comparable.php index c8fd7e5..e90ce73 100644 --- a/src/Groups/Comparable.php +++ b/src/Groups/Comparable.php @@ -6,12 +6,6 @@ use Somnambulist\Components\Collection\Behaviours\Compare\DiffValues; use Somnambulist\Components\Collection\Behaviours\Compare\Intersect; -/** - * Trait Comparable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Comparable - */ trait Comparable { diff --git a/src/Groups/Exportable.php b/src/Groups/Exportable.php index aa7105d..77c5c57 100644 --- a/src/Groups/Exportable.php +++ b/src/Groups/Exportable.php @@ -9,12 +9,6 @@ use Somnambulist\Components\Collection\Behaviours\Export\JsonSerialize; use Somnambulist\Components\Collection\Behaviours\Export\Serializable; -/** - * Trait Exportable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Exportable - */ trait Exportable { diff --git a/src/Groups/Filterable.php b/src/Groups/Filterable.php index 1202569..6fe7510 100644 --- a/src/Groups/Filterable.php +++ b/src/Groups/Filterable.php @@ -5,12 +5,6 @@ use Somnambulist\Components\Collection\Behaviours\Query\FilterByKey; use Somnambulist\Components\Collection\Behaviours\Query\FilterValues; -/** - * Trait Filterable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Filterable - */ trait Filterable { diff --git a/src/Groups/ImmutableQueryable.php b/src/Groups/ImmutableQueryable.php index 4c2c792..3e23eba 100644 --- a/src/Groups/ImmutableQueryable.php +++ b/src/Groups/ImmutableQueryable.php @@ -20,13 +20,10 @@ use Somnambulist\Components\Collection\Behaviours\Query\Values; /** - * Trait ImmutableQueryable + * ImmutableQueryable * * Groups a set of traits for getting or checking items in a Collection but does not * allow modifications to the collection. - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\ImmutableQueryable */ trait ImmutableQueryable { diff --git a/src/Groups/Mappable.php b/src/Groups/Mappable.php index 405ed43..83f3af8 100644 --- a/src/Groups/Mappable.php +++ b/src/Groups/Mappable.php @@ -9,12 +9,6 @@ use Somnambulist\Components\Collection\Behaviours\MapReduce\MapInto; use Somnambulist\Components\Collection\Behaviours\MapReduce\Reduce; -/** - * Trait Mappable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Mappable - */ trait Mappable { diff --git a/src/Groups/Mutable.php b/src/Groups/Mutable.php index 74212ef..c0a4420 100644 --- a/src/Groups/Mutable.php +++ b/src/Groups/Mutable.php @@ -23,12 +23,9 @@ use Somnambulist\Components\Collection\Behaviours\Mutate\When; /** - * Trait Mutable + * Mutable * * Combines many traits that can mutate the collection into a single trait. - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Mutable */ trait Mutable { diff --git a/src/Groups/MutableSet.php b/src/Groups/MutableSet.php index fcaea4b..ee7830a 100644 --- a/src/Groups/MutableSet.php +++ b/src/Groups/MutableSet.php @@ -19,13 +19,10 @@ use Somnambulist\Components\Collection\Behaviours\Mutate\When; /** - * Trait MutableSet + * MutableSet * * Combines many traits that can mutate the collection into a single trait and * constrains them to unique values. - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\MutableSet */ trait MutableSet { diff --git a/src/Groups/Partitionable.php b/src/Groups/Partitionable.php index 31a1283..d2e1141 100644 --- a/src/Groups/Partitionable.php +++ b/src/Groups/Partitionable.php @@ -7,12 +7,6 @@ use Somnambulist\Components\Collection\Behaviours\Partition\Slice; use Somnambulist\Components\Collection\Behaviours\Partition\Splice; -/** - * Trait Partitionable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Partitionable - */ trait Partitionable { diff --git a/src/Groups/Queryable.php b/src/Groups/Queryable.php index 22b6cde..b63bda3 100644 --- a/src/Groups/Queryable.php +++ b/src/Groups/Queryable.php @@ -18,12 +18,6 @@ use Somnambulist\Components\Collection\Behaviours\Query\Value; use Somnambulist\Components\Collection\Behaviours\Query\Values; -/** - * Trait Queryable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Queryable - */ trait Queryable { diff --git a/src/Groups/Runnable.php b/src/Groups/Runnable.php index e8dce30..8a926b2 100644 --- a/src/Groups/Runnable.php +++ b/src/Groups/Runnable.php @@ -8,13 +8,10 @@ use Somnambulist\Components\Collection\Behaviours\Pipes\RunMethodOnValues; /** - * Trait Runnable + * Runnable * * Groups methods that call functions, methods or allow callables to operate * on the collection e.g. run(), pipe() etc. - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Runnable */ trait Runnable { diff --git a/src/Groups/Sortable.php b/src/Groups/Sortable.php index ff10630..0ec062f 100644 --- a/src/Groups/Sortable.php +++ b/src/Groups/Sortable.php @@ -4,12 +4,6 @@ use Somnambulist\Components\Collection\Behaviours\Query\Sort; -/** - * Trait Sortable - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\Sortable - */ trait Sortable { diff --git a/src/Groups/StringHelpers.php b/src/Groups/StringHelpers.php index 7ed9dcb..a421e9b 100644 --- a/src/Groups/StringHelpers.php +++ b/src/Groups/StringHelpers.php @@ -7,12 +7,6 @@ use Somnambulist\Components\Collection\Behaviours\Strings\Trim; use Somnambulist\Components\Collection\Behaviours\Strings\Upper; -/** - * Trait StringHelpers - * - * @package Somnambulist\Components\Collection\Groups - * @subpackage Somnambulist\Components\Collection\Groups\StringHelpers - */ trait StringHelpers { diff --git a/src/MutableCollection.php b/src/MutableCollection.php index 06279e9..18a38e9 100644 --- a/src/MutableCollection.php +++ b/src/MutableCollection.php @@ -34,11 +34,6 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Class MutableCollection - * - * @package Somnambulist\Components\Collection - * @subpackage Somnambulist\Components\Collection\MutableCollection - * * @property-read MapProxy $map * @property-read RunProxy $run */ diff --git a/src/MutableSet.php b/src/MutableSet.php index 25c3ed3..4b01366 100644 --- a/src/MutableSet.php +++ b/src/MutableSet.php @@ -34,7 +34,7 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Class MutableSet + * MutableSet * * Note: this is not a true set, in that string keys are allowed. * @@ -45,9 +45,6 @@ * Certain mutations cannot be used in a Set, e.g. pad, fill, fillKeys as they * generate the same value for every key. * - * @package Somnambulist\Components\Collection - * @subpackage Somnambulist\Components\Collection\MutableSet - * * @property-read MapProxy $map * @property-read RunProxy $run */ diff --git a/src/SimpleCollection.php b/src/SimpleCollection.php index 87df510..775e15d 100644 --- a/src/SimpleCollection.php +++ b/src/SimpleCollection.php @@ -6,12 +6,9 @@ use Somnambulist\Components\Collection\Utils\Value; /** - * Class SimpleCollection + * SimpleCollection * * A basic collection class that operates on its own keys. Values can be duplicated. - * - * @package Somnambulist\Components\Collection - * @subpackage Somnambulist\Components\Collection\SimpleCollection */ class SimpleCollection extends AbstractCollection { diff --git a/src/Utils/ClassUtils.php b/src/Utils/ClassUtils.php index 1288b01..7273c0c 100644 --- a/src/Utils/ClassUtils.php +++ b/src/Utils/ClassUtils.php @@ -15,12 +15,6 @@ use function str_replace; use function ucwords; -/** - * Class ClassUtils - * - * @package Somnambulist\Components\Collection\Utils - * @subpackage Somnambulist\Components\Collection\Utils\ClassUtils - */ final class ClassUtils { diff --git a/src/Utils/FactoryUtils.php b/src/Utils/FactoryUtils.php index 8ff842d..ababee6 100644 --- a/src/Utils/FactoryUtils.php +++ b/src/Utils/FactoryUtils.php @@ -6,15 +6,8 @@ use Somnambulist\Components\Collection\MutableCollection; use function str_contains; -/** - * Class FactoryUtils - * - * @package Somnambulist\Components\Collection\Utils - * @subpackage Somnambulist\Components\Collection\Utils\FactoryUtils - */ final class FactoryUtils { - private function __construct() {} /** @@ -112,7 +105,7 @@ public static function createFromString( public static function createFromIniString( string $ini, bool $sections = false, - $mode = INI_SCANNER_NORMAL, + int $mode = INI_SCANNER_NORMAL, string $type = MutableCollection::class ): Collection { diff --git a/src/Utils/KeyWalker.php b/src/Utils/KeyWalker.php index a9f2c0f..36ede42 100644 --- a/src/Utils/KeyWalker.php +++ b/src/Utils/KeyWalker.php @@ -7,17 +7,12 @@ use function method_exists; /** - * Class KeyWalker - * * Adds support for walking a Collection (or array) via dot notation. - * Based on Laravels data_get / Arr::get. * - * @package Somnambulist\Components\Collection\Utils - * @subpackage Somnambulist\Components\Collection\Utils\KeyWalker + * Based on Laravels data_get / Arr::get. */ final class KeyWalker { - /** * Walks the collection accessing nested members defined in the key by dot notation * diff --git a/src/Utils/MapProxy.php b/src/Utils/MapProxy.php index 4c4c541..8168876 100644 --- a/src/Utils/MapProxy.php +++ b/src/Utils/MapProxy.php @@ -5,14 +5,11 @@ use Somnambulist\Components\Collection\Contracts\Collection; /** - * Class MapProxy + * MapProxy * * Run a method on the collection objects, returning the output from calling that method. * This creates a `map()` call that calls the requested method, collects the results and * returns them in a new collection instance created via `new()`. - * - * @package Somnambulist\Components\Collection\Utils - * @subpackage Somnambulist\Components\Collection\Utils\MapProxy */ final class MapProxy { diff --git a/src/Utils/RunProxy.php b/src/Utils/RunProxy.php index 04bf171..7122b4b 100644 --- a/src/Utils/RunProxy.php +++ b/src/Utils/RunProxy.php @@ -6,17 +6,13 @@ use Somnambulist\Components\Collection\Contracts\Runnable; /** - * Class RunProxy + * RunProxy * * Buffer to allow running methods on the collection without the collection needing * an __call method. - * - * @package Somnambulist\Components\Collection\Utils - * @subpackage Somnambulist\Components\Collection\Utils\RunProxy */ final class RunProxy { - private Runnable $collection; public function __construct(Runnable $collection) diff --git a/src/Utils/Value.php b/src/Utils/Value.php index fa17b75..b184782 100644 --- a/src/Utils/Value.php +++ b/src/Utils/Value.php @@ -21,15 +21,8 @@ use function iterator_to_array; use function str_contains; -/** - * Class Value - * - * @package Somnambulist\Components\Collection\Utils - * @subpackage Somnambulist\Components\Collection\Utils\Value - */ final class Value { - private function __construct() {} /** diff --git a/tests/Behaviours/Aggregate/AggregateValuesTest.php b/tests/Behaviours/Aggregate/AggregateValuesTest.php index 933123d..d10a003 100644 --- a/tests/Behaviours/Aggregate/AggregateValuesTest.php +++ b/tests/Behaviours/Aggregate/AggregateValuesTest.php @@ -1,19 +1,12 @@ - "green", "red", "blue"); diff --git a/tests/Fixtures/FilterableObject.php b/tests/Fixtures/FilterableObject.php index 67b3d06..8617f90 100644 --- a/tests/Fixtures/FilterableObject.php +++ b/tests/Fixtures/FilterableObject.php @@ -2,12 +2,6 @@ namespace Somnambulist\Components\Collection\Tests\Fixtures; -/** - * Class FilterableObject - * - * @package Somnambulist\Components\Collection\Tests\Fixtures - * @subpackage Somnambulist\Components\Collection\Tests\Fixtures\FilterableObject - */ class FilterableObject { diff --git a/tests/Fixtures/MyCollection.php b/tests/Fixtures/MyCollection.php index 45acf63..5d034f3 100644 --- a/tests/Fixtures/MyCollection.php +++ b/tests/Fixtures/MyCollection.php @@ -4,12 +4,6 @@ use Somnambulist\Components\Collection\MutableCollection; -/** - * Class MyCollection - * - * @package Somnambulist\Components\Collection\Tests\Fixtures - * @subpackage Somnambulist\Components\Collection\Tests\Fixtures\MyCollection - */ class MyCollection extends MutableCollection { diff --git a/tests/Fixtures/MyFrozenCollection.php b/tests/Fixtures/MyFrozenCollection.php index c095d13..9e269c3 100644 --- a/tests/Fixtures/MyFrozenCollection.php +++ b/tests/Fixtures/MyFrozenCollection.php @@ -4,12 +4,6 @@ use Somnambulist\Components\Collection\FrozenCollection; -/** - * Class MyFrozenCollection - * - * @package Somnambulist\Components\Collection\Tests\Fixtures - * @subpackage Somnambulist\Components\Collection\Tests\Fixtures\MyFrozenCollection - */ class MyFrozenCollection extends FrozenCollection { diff --git a/tests/Fixtures/MyObject.php b/tests/Fixtures/MyObject.php index 6a8baf8..31f33a7 100644 --- a/tests/Fixtures/MyObject.php +++ b/tests/Fixtures/MyObject.php @@ -1,13 +1,7 @@ - 'bar']); diff --git a/tests/MutableSetTest.php b/tests/MutableSetTest.php index 8267491..12a01d3 100644 --- a/tests/MutableSetTest.php +++ b/tests/MutableSetTest.php @@ -1,4 +1,4 @@ -