Aggiornato Composer

This commit is contained in:
Paolo A
2024-05-17 12:24:19 +00:00
parent 4ac62108b5
commit ec201d75b2
2238 changed files with 38684 additions and 59785 deletions

View File

@@ -2,6 +2,12 @@
All notable changes are documented in this file using the [Keep a CHANGELOG](https://keepachangelog.com/) principles.
## [1.0.2] - 2024-03-02
### Changed
* Do not use implicitly nullable parameters
## [1.0.1] - 2020-09-28
### Changed
@@ -12,4 +18,6 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
* Initial release
[1.0.2]: https://github.com/sebastianbergmann/cli-parser/compare/1.0.1...1.0.2
[1.0.1]: https://github.com/sebastianbergmann/cli-parser/compare/1.0.0...1.0.1
[1.0.0]: https://github.com/sebastianbergmann/cli-parser/compare/bb7bb3297957927962b0a3335befe7b66f7462e9...1.0.0

View File

@@ -41,7 +41,7 @@ final class Parser
* @throws OptionDoesNotAllowArgumentException
* @throws UnknownOptionException
*/
public function parse(array $argv, string $shortOptions, array $longOptions = null): array
public function parse(array $argv, string $shortOptions, ?array $longOptions = null): array
{
if (empty($argv)) {
return [[], []];