Skip to content

Commit

Permalink
Merge pull request #16 from php-soap/engine2
Browse files Browse the repository at this point in the history
Allow engine 2
  • Loading branch information
veewee authored Mar 31, 2023
2 parents 9d96329 + 4fded49 commit de0f439
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .phive/phars.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="psalm" version="^4.30.0" installed="4.30.0" location="./tools/psalm.phar" copy="true"/>
<phar name="psalm" version="^5.9.0" installed="5.9.0" location="./tools/psalm.phar" copy="true"/>
<phar name="php-cs-fixer" version="^3.13.0" installed="3.13.0" location="./tools/php-cs-fixer.phar" copy="true"/>
</phive>
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"ext-soap": "*",
"ext-dom": "*",
"azjezz/psl": "^2.1",
"php-soap/engine": "^1.3",
"php-soap/engine": "^1.3|^2.0",
"php-soap/wsdl": "^1.3",
"symfony/options-resolver": "^5.4 || ^6.0"
},
"require-dev": {
"php-soap/engine-integration-tests": "^1.3",
"php-soap/engine-integration-tests": "^1.4",
"php-soap/xml": "^1.4",
"phpunit/phpunit": "^9.5"
"phpunit/phpunit": "^10.0.19"
}
}
3 changes: 3 additions & 0 deletions src/Configuration/ClassMap/ClassMapCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use ArrayIterator;
use IteratorAggregate;

/**
* @implements IteratorAggregate<array-key, ClassMapInterface>
*/
final class ClassMapCollection implements IteratorAggregate
{
/**
Expand Down
5 changes: 4 additions & 1 deletion src/Configuration/TypeConverter/TypeConverterCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
use InvalidArgumentException;
use IteratorAggregate;

/**
* @implements IteratorAggregate<array-key, TypeConverterInterface>
*/
final class TypeConverterCollection implements IteratorAggregate
{
/**
Expand All @@ -25,7 +28,7 @@ public function __construct(array $converters = [])
}
}


private function serialize(TypeConverterInterface $converter): string
{
return $converter->getTypeNamespace() . ':' . $converter->getTypeName();
Expand Down
Binary file modified tools/psalm.phar
Binary file not shown.

0 comments on commit de0f439

Please sign in to comment.