Arnold Daniels
Arnold Daniels
The `toArray()` method outputs an associative array. If you want the values, you explicitly need to use the `values()` step. Adding specific methods for associative and sequential arrays would be...
Add methods to append or prepend items to an iterator. ```php Pipeline::with($items) ->append($extraItems); ```
The iterable value and type can be determined based on the called methods and/or callbacks passed to those methods. Use PHPStan syntax for generics and callables.
```php use Jasny\Auth\AuthMiddleware; use Jasny\Auth\AttributesHandler; $fn = static function (ServerRequestInterface $request) { return new ReflectionMethod($request->getAttribute('route.controller'), $request->getAttribute('route.action')); }; $middleware = new AuthMiddleware($auth, $fn, $responseFactory); $router->add($middleware); ``` If the callback for `AuthMiddleware`...
Make `SelectedItemGroup` a generic, passing the type to `SelectItem`. ```ts export interface SelectItemGroup { label: string; value?: any; items: SelectItem[]; } ``` Fixes #16561
### Describe the bug While [`SelectItem`](https://github.com/primefaces/primeng/blob/master/src/app/components/api/selectitem.ts) is a generic, [`SelectedItemGroup`](https://github.com/primefaces/primeng/blob/master/src/app/components/api/selectitemgroup.ts) is not. ### Environment N/A ### Reproducer _No response_ ### Angular version 18.2.8 ### PrimeNG version 17.18.11 ### Build /...
Does it make sense to allow switch-route to work with slim framework as alternative router? > The Slim Framework’s router is built on top of the [Fast Route](https://github.com/nikic/FastRoute) component, and...
## Summary - replace the Travis CI configuration with a GitHub Actions workflow - replace AppVeyor with a GitHub Actions workflow - build and test the extension across supported PHP...