Skip to content

Commit d3fe2e7

Browse files
committed
Remove unneeded illuminate/collections + update docs
1 parent 36c35ff commit d3fe2e7

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

composer.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
}
2828
],
2929
"minimum-stability": "stable",
30-
"require": {
31-
"illuminate/collections": "^8.0"
32-
},
3330
"require-dev": {
3431
"lucatume/wp-browser": "^3.5 || ^4.0",
3532
"szepeviktor/phpstan-wordpress": "^1.1",

docs/Home.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ This is an automatically generated documentation for **Documentation**.
2323

2424

2525
***
26-
> Automatically generated on 2025-01-17
26+
> Automatically generated on 2025-02-07

docs/classes/StellarWP/Arrays/Arr.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ public static except(array $array, array|string|int|float $keys): array
357357
Determine if the given key exists in the provided array.
358358

359359
```php
360-
public static exists(\ArrayAccess|\Illuminate\Support\Enumerable|array $array, string|int|float $key): bool
360+
public static exists(\ArrayAccess|array $array, string|int|float $key): bool
361361
```
362362

363363

@@ -371,7 +371,7 @@ public static exists(\ArrayAccess|\Illuminate\Support\Enumerable|array $array, s
371371

372372
| Parameter | Type | Description |
373373
|-----------|------|-------------|
374-
| `$array` | **\ArrayAccess|\Illuminate\Support\Enumerable|array** | |
374+
| `$array` | **\ArrayAccess|array** | |
375375
| `$key` | **string|int|float** | |
376376

377377

@@ -1691,4 +1691,4 @@ whose keys exist in every provided array, recursively.
16911691

16921692

16931693
***
1694-
> Automatically generated on 2025-01-17
1694+
> Automatically generated on 2025-02-07

src/Arrays/Arr.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
namespace StellarWP\Arrays;
44

55
use ArrayAccess;
6-
use Illuminate\Support\Enumerable;
76
use InvalidArgumentException;
87

98
/**
@@ -302,7 +301,7 @@ public static function except( $array, $keys ) {
302301
/**
303302
* Determine if the given key exists in the provided array.
304303
*
305-
* @param \ArrayAccess|Enumerable|array $array
304+
* @param \ArrayAccess|array $array
306305
* @param string|int|float $key
307306
*
308307
* @return bool

0 commit comments

Comments
 (0)