← All changes
|
includes/sdk/google/ramsey/collection/src/ArrayInterface.php
+5
-6
1.0.2
→
1.4.1
View file →
| @@ -9,14 +9,13 @@ | ||
| 9 | 9 | * @copyright Copyright (c) Ben Ramsey <ben@benramsey.com> |
| 10 | 10 | * @license http://opensource.org/licenses/MIT MIT |
| 11 | 11 | */ |
| 12 | 12 | declare (strict_types=1); |
| 13 | -namespace Dudlewebs\WPMCS\Ramsey\Collection; | |
| 13 | +namespace Dudlewebs\WPMCS\GCP\Ramsey\Collection; | |
| 14 | 14 | |
| 15 | 15 | use ArrayAccess; |
| 16 | 16 | use Countable; |
| 17 | 17 | use IteratorAggregate; |
| 18 | -use Serializable; | |
| 19 | 18 | /** |
| 20 | 19 | * `ArrayInterface` provides traversable array functionality to data types. |
| 21 | 20 | * |
| 22 | 21 | * @template T |
| @@ -22,21 +21,21 @@ | ||
| 22 | 21 | * @template T |
| 23 | 22 | * @extends ArrayAccess<array-key, T> |
| 24 | 23 | * @extends IteratorAggregate<array-key, T> |
| 25 | 24 | */ |
| 26 | -interface ArrayInterface extends ArrayAccess, Countable, IteratorAggregate, Serializable | |
| 25 | +interface ArrayInterface extends ArrayAccess, Countable, IteratorAggregate | |
| 27 | 26 | { |
| 28 | 27 | /** |
| 29 | 28 | * Removes all items from this array. |
| 30 | 29 | */ |
| 31 | - public function clear(): void; | |
| 30 | + public function clear() : void; | |
| 32 | 31 | /** |
| 33 | 32 | * Returns a native PHP array representation of this array object. |
| 34 | 33 | * |
| 35 | 34 | * @return array<array-key, T> |
| 36 | 35 | */ |
| 37 | - public function toArray(): array; | |
| 36 | + public function toArray() : array; | |
| 38 | 37 | /** |
| 39 | 38 | * Returns `true` if this array is empty. |
| 40 | 39 | */ |
| 41 | - public function isEmpty(): bool; | |
| 40 | + public function isEmpty() : bool; | |
| 42 | 41 | } |