diff --git a/composer.lock b/composer.lock index 60d4c73023ac87920fb8e15b6786ca9707f36acc..b8311d08c1238137a71a42074faf3d7160acf80d 100644 --- a/composer.lock +++ b/composer.lock @@ -8,28 +8,28 @@ "packages": [ { "name": "api-platform/core", - "version": "v2.5.10", + "version": "v2.6.4", "source": { "type": "git", "url": "https://github.com/api-platform/core.git", - "reference": "908dafa251fc532cb2c3673318b4ac4a6438f9da" + "reference": "be971e5d0257a8c01a824ee01cfc217ba04c3200" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/api-platform/core/zipball/908dafa251fc532cb2c3673318b4ac4a6438f9da", - "reference": "908dafa251fc532cb2c3673318b4ac4a6438f9da", + "url": "https://api.github.com/repos/api-platform/core/zipball/be971e5d0257a8c01a824ee01cfc217ba04c3200", + "reference": "be971e5d0257a8c01a824ee01cfc217ba04c3200", "shasum": "" }, "require": { "doctrine/inflector": "^1.0 || ^2.0", "fig/link-util": "^1.0", "php": ">=7.1", - "psr/cache": "^1.0", + "psr/cache": "^1.0 || ^2.0 || ^3.0", "psr/container": "^1.0", "symfony/http-foundation": "^4.4 || ^5.1", "symfony/http-kernel": "^4.4 || ^5.1", "symfony/property-access": "^3.4.19 || ^4.4 || ^5.1", - "symfony/property-info": "^3.4 || ^4.4 || ^5.1", + "symfony/property-info": "^3.4 || ^4.4 || ^5.2.1", "symfony/serializer": "^4.4 || ^5.1", "symfony/web-link": "^4.4 || ^5.1", "willdurand/negotiation": "^2.0.3 || ^3.0" @@ -59,7 +59,7 @@ "phpdocumentor/reflection-docblock": "^3.0 || ^4.0 || ^5.1", "phpdocumentor/type-resolver": "^0.3 || ^0.4 || ^1.4", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.53@dev", + "phpstan/phpstan": "^0.12.65", "phpstan/phpstan-doctrine": "^0.12.7", "phpstan/phpstan-phpunit": "^0.12.4", "phpstan/phpstan-symfony": "^0.12.4", @@ -101,6 +101,7 @@ "doctrine/mongodb-odm-bundle": "To support MongoDB. Only versions 4.0 and later are supported.", "elasticsearch/elasticsearch": "To support Elasticsearch.", "guzzlehttp/guzzle": "To use the HTTP cache invalidation system.", + "ocramius/package-versions": "To display the API Platform's version in the debug bar.", "phpdocumentor/reflection-docblock": "To support extracting metadata from PHPDoc.", "psr/cache-implementation": "To use metadata caching.", "ramsey/uuid": "To support Ramsey's UUID identifiers.", @@ -109,13 +110,14 @@ "symfony/expression-language": "To use authorization features.", "symfony/security": "To use authorization features.", "symfony/twig-bundle": "To use the Swagger UI integration.", + "symfony/uid": "To support Symfony UUID/ULID identifiers.", "symfony/web-profiler-bundle": "To use the data collector.", "webonyx/graphql-php": "To support GraphQL." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.5.x-dev" + "dev-main": "2.7.x-dev" }, "symfony": { "require": "^3.4 || ^4.4 || ^5.1" @@ -152,7 +154,7 @@ ], "support": { "issues": "https://github.com/api-platform/core/issues", - "source": "https://github.com/api-platform/core/tree/v2.5.10" + "source": "https://github.com/api-platform/core/tree/v2.6.4" }, "funding": [ { @@ -160,7 +162,7 @@ "type": "tidelift" } ], - "time": "2021-01-22T10:36:37+00:00" + "time": "2021-04-12T14:53:14+00:00" }, { "name": "brick/math", @@ -224,10 +226,10 @@ "source": { "type": "git", "url": "https://gitlab.tugraz.at/dbp/middleware/dbp-api/api-core-bundle.git", - "reference": "ef75ab8e92487c401958420d30b11dc7ffd1971c" + "reference": "6f3bf973ad3374ab018a826164f00358e057e404" }, "require": { - "api-platform/core": "2.5.10", + "api-platform/core": "^2.6.3", "doctrine/annotations": "^1.0", "ext-json": "*", "guzzlehttp/guzzle": "^7.0", @@ -301,7 +303,7 @@ "license": [ "AGPL-3.0-or-later" ], - "time": "2021-04-06T13:35:23+00:00" + "time": "2021-04-15T09:51:39+00:00" }, { "name": "doctrine/annotations", @@ -686,22 +688,22 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.2.0", + "version": "7.3.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79" + "reference": "7008573787b430c1c1f650e3722d9bba59967628" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/0aa74dfb41ae110835923ef10a9d803a22d50e79", - "reference": "0aa74dfb41ae110835923ef10a9d803a22d50e79", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7008573787b430c1c1f650e3722d9bba59967628", + "reference": "7008573787b430c1c1f650e3722d9bba59967628", "shasum": "" }, "require": { "ext-json": "*", "guzzlehttp/promises": "^1.4", - "guzzlehttp/psr7": "^1.7", + "guzzlehttp/psr7": "^1.7 || ^2.0", "php": "^7.2.5 || ^8.0", "psr/http-client": "^1.0" }, @@ -709,6 +711,7 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", "ext-curl": "*", "php-http/client-integration-tests": "^3.0", "phpunit/phpunit": "^8.5.5 || ^9.3.5", @@ -722,7 +725,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.1-dev" + "dev-master": "7.3-dev" } }, "autoload": { @@ -764,7 +767,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.2.0" + "source": "https://github.com/guzzle/guzzle/tree/7.3.0" }, "funding": [ { @@ -784,7 +787,7 @@ "type": "github" } ], - "time": "2020-10-10T11:47:56+00:00" + "time": "2021-03-23T11:33:13+00:00" }, { "name": "guzzlehttp/promises", @@ -843,16 +846,16 @@ }, { "name": "guzzlehttp/psr7", - "version": "1.7.0", + "version": "1.8.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3" + "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/53330f47520498c0ae1f61f7e2c90f55690c06a3", - "reference": "53330f47520498c0ae1f61f7e2c90f55690c06a3", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/35ea11d335fd638b5882ff1725228b3d35496ab1", + "reference": "35ea11d335fd638b5882ff1725228b3d35496ab1", "shasum": "" }, "require": { @@ -912,9 +915,9 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/1.7.0" + "source": "https://github.com/guzzle/psr7/tree/1.8.1" }, - "time": "2020-09-30T07:37:11+00:00" + "time": "2021-03-21T16:25:00+00:00" }, { "name": "kevinrob/guzzle-cache-middleware", @@ -3832,16 +3835,16 @@ }, { "name": "symfony/security-bundle", - "version": "v4.4.20", + "version": "v4.4.21", "source": { "type": "git", "url": "https://github.com/symfony/security-bundle.git", - "reference": "55a84ceb5f68e2dc836708e51f1ce1e5f7cecb7b" + "reference": "607dcdb60ef74d63fbeb86549c52075f040ae4cc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-bundle/zipball/55a84ceb5f68e2dc836708e51f1ce1e5f7cecb7b", - "reference": "55a84ceb5f68e2dc836708e51f1ce1e5f7cecb7b", + "url": "https://api.github.com/repos/symfony/security-bundle/zipball/607dcdb60ef74d63fbeb86549c52075f040ae4cc", + "reference": "607dcdb60ef74d63fbeb86549c52075f040ae4cc", "shasum": "" }, "require": { @@ -3907,7 +3910,7 @@ "description": "Provides a tight integration of the Security component into the Symfony full-stack framework", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-bundle/tree/v4.4.20" + "source": "https://github.com/symfony/security-bundle/tree/v4.4.21" }, "funding": [ { @@ -3923,20 +3926,20 @@ "type": "tidelift" } ], - "time": "2021-02-04T11:13:36+00:00" + "time": "2021-03-22T08:54:48+00:00" }, { "name": "symfony/security-core", - "version": "v4.4.20", + "version": "v4.4.21", "source": { "type": "git", "url": "https://github.com/symfony/security-core.git", - "reference": "e185d3918539a9a7c794c20baa18f5e0333a826d" + "reference": "19a7caa988be4f013669a057861a1d2a3eacbbf3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-core/zipball/e185d3918539a9a7c794c20baa18f5e0333a826d", - "reference": "e185d3918539a9a7c794c20baa18f5e0333a826d", + "url": "https://api.github.com/repos/symfony/security-core/zipball/19a7caa988be4f013669a057861a1d2a3eacbbf3", + "reference": "19a7caa988be4f013669a057861a1d2a3eacbbf3", "shasum": "" }, "require": { @@ -3950,7 +3953,7 @@ "symfony/security-guard": "<4.3" }, "require-dev": { - "psr/container": "^1.0", + "psr/container": "^1.0|^2.0", "psr/log": "~1.0", "symfony/event-dispatcher": "^4.3", "symfony/expression-language": "^3.4|^4.0|^5.0", @@ -3993,7 +3996,7 @@ "description": "Symfony Security Component - Core Library", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-core/tree/v4.4.20" + "source": "https://github.com/symfony/security-core/tree/v4.4.21" }, "funding": [ { @@ -4009,7 +4012,7 @@ "type": "tidelift" } ], - "time": "2021-03-03T16:55:00+00:00" + "time": "2021-03-10T13:26:08+00:00" }, { "name": "symfony/security-csrf", @@ -4150,16 +4153,16 @@ }, { "name": "symfony/security-http", - "version": "v4.4.20", + "version": "v4.4.21", "source": { "type": "git", "url": "https://github.com/symfony/security-http.git", - "reference": "1a69306ec4185de37df2350cf3d6a529b14b21f0" + "reference": "c5546b762376e4d9a806b08bf4495b2633573ff8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/security-http/zipball/1a69306ec4185de37df2350cf3d6a529b14b21f0", - "reference": "1a69306ec4185de37df2350cf3d6a529b14b21f0", + "url": "https://api.github.com/repos/symfony/security-http/zipball/c5546b762376e4d9a806b08bf4495b2633573ff8", + "reference": "c5546b762376e4d9a806b08bf4495b2633573ff8", "shasum": "" }, "require": { @@ -4208,7 +4211,7 @@ "description": "Symfony Security Component - HTTP Integration", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/security-http/tree/v4.4.20" + "source": "https://github.com/symfony/security-http/tree/v4.4.21" }, "funding": [ { @@ -4224,7 +4227,7 @@ "type": "tidelift" } ], - "time": "2021-02-14T12:29:41+00:00" + "time": "2021-03-12T01:21:32+00:00" }, { "name": "symfony/serializer", @@ -4570,16 +4573,16 @@ }, { "name": "symfony/twig-bridge", - "version": "v5.2.4", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/twig-bridge.git", - "reference": "4fa4380e5413eb5db24abdef4dfd9fe567b11605" + "reference": "a65d8d38c66f147f29b73d53d14e8c9a983653b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/4fa4380e5413eb5db24abdef4dfd9fe567b11605", - "reference": "4fa4380e5413eb5db24abdef4dfd9fe567b11605", + "url": "https://api.github.com/repos/symfony/twig-bridge/zipball/a65d8d38c66f147f29b73d53d14e8c9a983653b8", + "reference": "a65d8d38c66f147f29b73d53d14e8c9a983653b8", "shasum": "" }, "require": { @@ -4599,7 +4602,7 @@ "symfony/workflow": "<5.2" }, "require-dev": { - "egulias/email-validator": "^2.1.10", + "egulias/email-validator": "^2.1.10|^3", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", "symfony/asset": "^4.4|^5.0", "symfony/console": "^4.4|^5.0", @@ -4624,9 +4627,9 @@ "symfony/web-link": "^4.4|^5.0", "symfony/workflow": "^5.2", "symfony/yaml": "^4.4|^5.0", - "twig/cssinliner-extra": "^2.12", - "twig/inky-extra": "^2.12", - "twig/markdown-extra": "^2.12" + "twig/cssinliner-extra": "^2.12|^3", + "twig/inky-extra": "^2.12|^3", + "twig/markdown-extra": "^2.12|^3" }, "suggest": { "symfony/asset": "For using the AssetExtension", @@ -4670,7 +4673,7 @@ "description": "Provides integration for Twig with various Symfony components", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/twig-bridge/tree/v5.2.4" + "source": "https://github.com/symfony/twig-bridge/tree/v5.2.6" }, "funding": [ { @@ -4686,7 +4689,7 @@ "type": "tidelift" } ], - "time": "2021-02-25T13:42:30+00:00" + "time": "2021-03-16T09:10:13+00:00" }, { "name": "symfony/twig-bundle", @@ -4777,16 +4780,16 @@ }, { "name": "symfony/validator", - "version": "v5.2.4", + "version": "v5.2.6", "source": { "type": "git", "url": "https://github.com/symfony/validator.git", - "reference": "db23f365a5646da5f7650c0da4a7a571c1ff37b1" + "reference": "67354644f9baba3cc122134c255b7461b7e0fe31" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/validator/zipball/db23f365a5646da5f7650c0da4a7a571c1ff37b1", - "reference": "db23f365a5646da5f7650c0da4a7a571c1ff37b1", + "url": "https://api.github.com/repos/symfony/validator/zipball/67354644f9baba3cc122134c255b7461b7e0fe31", + "reference": "67354644f9baba3cc122134c255b7461b7e0fe31", "shasum": "" }, "require": { @@ -4811,7 +4814,7 @@ "require-dev": { "doctrine/annotations": "^1.10.4", "doctrine/cache": "~1.0", - "egulias/email-validator": "^2.1.10", + "egulias/email-validator": "^2.1.10|^3", "symfony/cache": "^4.4|^5.0", "symfony/config": "^4.4|^5.0", "symfony/console": "^4.4|^5.0", @@ -4868,7 +4871,7 @@ "description": "Provides tools to validate values", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/validator/tree/v5.2.4" + "source": "https://github.com/symfony/validator/tree/v5.2.6" }, "funding": [ { @@ -4884,7 +4887,7 @@ "type": "tidelift" } ], - "time": "2021-03-04T15:41:09+00:00" + "time": "2021-03-23T12:45:44+00:00" }, { "name": "symfony/var-dumper", @@ -5136,16 +5139,16 @@ }, { "name": "symfony/yaml", - "version": "v4.4.20", + "version": "v4.4.21", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "29e61305e1c79d25f71060903982ead8f533e267" + "reference": "3871c720871029f008928244e56cf43497da7e9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/29e61305e1c79d25f71060903982ead8f533e267", - "reference": "29e61305e1c79d25f71060903982ead8f533e267", + "url": "https://api.github.com/repos/symfony/yaml/zipball/3871c720871029f008928244e56cf43497da7e9d", + "reference": "3871c720871029f008928244e56cf43497da7e9d", "shasum": "" }, "require": { @@ -5187,7 +5190,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v4.4.20" + "source": "https://github.com/symfony/yaml/tree/v4.4.21" }, "funding": [ { @@ -5203,7 +5206,7 @@ "type": "tidelift" } ], - "time": "2021-02-22T15:36:50+00:00" + "time": "2021-03-05T17:58:50+00:00" }, { "name": "twig/twig", @@ -5283,16 +5286,16 @@ }, { "name": "web-token/jwt-checker", - "version": "v2.2.8", + "version": "v2.2.10", "source": { "type": "git", "url": "https://github.com/web-token/jwt-checker.git", - "reference": "568c801ebf4209da3747e5df1b0c0aef443aa5b9" + "reference": "5f31d98155951739e2fae7455e8466ccddd08f50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-token/jwt-checker/zipball/568c801ebf4209da3747e5df1b0c0aef443aa5b9", - "reference": "568c801ebf4209da3747e5df1b0c0aef443aa5b9", + "url": "https://api.github.com/repos/web-token/jwt-checker/zipball/5f31d98155951739e2fae7455e8466ccddd08f50", + "reference": "5f31d98155951739e2fae7455e8466ccddd08f50", "shasum": "" }, "require": { @@ -5339,7 +5342,7 @@ "symfony" ], "support": { - "source": "https://github.com/web-token/jwt-checker/tree/v2.2.8" + "source": "https://github.com/web-token/jwt-checker/tree/v2.2.10" }, "funding": [ { @@ -5347,20 +5350,20 @@ "type": "patreon" } ], - "time": "2021-01-21T19:18:03+00:00" + "time": "2021-03-17T14:55:52+00:00" }, { "name": "web-token/jwt-core", - "version": "v2.2.8", + "version": "v2.2.10", "source": { "type": "git", "url": "https://github.com/web-token/jwt-core.git", - "reference": "1365422ff1f147d2d4c5cb4473c28c9996fca84b" + "reference": "53beb6f6c1eec4fa93c1c3e5d9e5701e71fa1678" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-token/jwt-core/zipball/1365422ff1f147d2d4c5cb4473c28c9996fca84b", - "reference": "1365422ff1f147d2d4c5cb4473c28c9996fca84b", + "url": "https://api.github.com/repos/web-token/jwt-core/zipball/53beb6f6c1eec4fa93c1c3e5d9e5701e71fa1678", + "reference": "53beb6f6c1eec4fa93c1c3e5d9e5701e71fa1678", "shasum": "" }, "require": { @@ -5415,7 +5418,7 @@ "symfony" ], "support": { - "source": "https://github.com/web-token/jwt-core/tree/v2.2.8" + "source": "https://github.com/web-token/jwt-core/tree/v2.2.10" }, "funding": [ { @@ -5423,20 +5426,20 @@ "type": "patreon" } ], - "time": "2021-01-21T19:18:03+00:00" + "time": "2021-03-17T14:55:52+00:00" }, { "name": "web-token/jwt-easy", - "version": "v2.2.8", + "version": "v2.2.10", "source": { "type": "git", "url": "https://github.com/web-token/jwt-easy.git", - "reference": "b4d1a4581a796244fdd69694548766403daeca97" + "reference": "01db23252bb53d4fd36975b55dd58466bab1bb30" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-token/jwt-easy/zipball/b4d1a4581a796244fdd69694548766403daeca97", - "reference": "b4d1a4581a796244fdd69694548766403daeca97", + "url": "https://api.github.com/repos/web-token/jwt-easy/zipball/01db23252bb53d4fd36975b55dd58466bab1bb30", + "reference": "01db23252bb53d4fd36975b55dd58466bab1bb30", "shasum": "" }, "require": { @@ -5500,7 +5503,7 @@ "symfony" ], "support": { - "source": "https://github.com/web-token/jwt-easy/tree/v2.2.8" + "source": "https://github.com/web-token/jwt-easy/tree/v2.2.10" }, "funding": [ { @@ -5508,20 +5511,20 @@ "type": "patreon" } ], - "time": "2021-01-21T19:18:03+00:00" + "time": "2021-03-17T14:55:52+00:00" }, { "name": "web-token/jwt-encryption", - "version": "v2.2.8", + "version": "v2.2.10", "source": { "type": "git", "url": "https://github.com/web-token/jwt-encryption.git", - "reference": "c244eeec3a0f817f8ce5c3d1858fa05e0366f650" + "reference": "3b8d67d7c5c013750703e7c27f1001544407bbb2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-token/jwt-encryption/zipball/c244eeec3a0f817f8ce5c3d1858fa05e0366f650", - "reference": "c244eeec3a0f817f8ce5c3d1858fa05e0366f650", + "url": "https://api.github.com/repos/web-token/jwt-encryption/zipball/3b8d67d7c5c013750703e7c27f1001544407bbb2", + "reference": "3b8d67d7c5c013750703e7c27f1001544407bbb2", "shasum": "" }, "require": { @@ -5579,7 +5582,7 @@ "symfony" ], "support": { - "source": "https://github.com/web-token/jwt-encryption/tree/v2.2.8" + "source": "https://github.com/web-token/jwt-encryption/tree/v2.2.10" }, "funding": [ { @@ -5587,20 +5590,20 @@ "type": "patreon" } ], - "time": "2021-01-21T19:18:03+00:00" + "time": "2021-03-17T14:55:52+00:00" }, { "name": "web-token/jwt-signature", - "version": "v2.2.8", + "version": "v2.2.10", "source": { "type": "git", "url": "https://github.com/web-token/jwt-signature.git", - "reference": "de624b8384b6c1bcbd699de95656181ce255fe39" + "reference": "015b59aaf3b6e8fb9f5bd1338845b7464c7d8103" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/web-token/jwt-signature/zipball/de624b8384b6c1bcbd699de95656181ce255fe39", - "reference": "de624b8384b6c1bcbd699de95656181ce255fe39", + "url": "https://api.github.com/repos/web-token/jwt-signature/zipball/015b59aaf3b6e8fb9f5bd1338845b7464c7d8103", + "reference": "015b59aaf3b6e8fb9f5bd1338845b7464c7d8103", "shasum": "" }, "require": { @@ -5655,7 +5658,7 @@ "symfony" ], "support": { - "source": "https://github.com/web-token/jwt-signature/tree/v2.2.8" + "source": "https://github.com/web-token/jwt-signature/tree/v2.2.10" }, "funding": [ { @@ -5663,11 +5666,11 @@ "type": "patreon" } ], - "time": "2021-01-21T19:18:03+00:00" + "time": "2021-03-01T19:55:28+00:00" }, { "name": "web-token/jwt-signature-algorithm-rsa", - "version": "v2.2.8", + "version": "v2.2.10", "source": { "type": "git", "url": "https://github.com/web-token/jwt-signature-algorithm-rsa.git", @@ -5729,7 +5732,7 @@ "symfony" ], "support": { - "source": "https://github.com/web-token/jwt-signature-algorithm-rsa/tree/v2.2.8" + "source": "https://github.com/web-token/jwt-signature-algorithm-rsa/tree/v2.2.10" }, "funding": [ { diff --git a/src/DataProvider/PlaceItemDataProvider.php b/src/DataProvider/PlaceItemDataProvider.php index 51029e0a53eb88560d52a0c5b844931b26058d2d..e5b21c2a41b16451778120a2a9e69aa82f54319a 100644 --- a/src/DataProvider/PlaceItemDataProvider.php +++ b/src/DataProvider/PlaceItemDataProvider.php @@ -23,9 +23,6 @@ final class PlaceItemDataProvider implements ItemDataProviderInterface, Restrict return Place::class === $resourceClass; } - /** - * @param array|int|string $id - */ public function getItem(string $resourceClass, $id, string $operationName = null, array $context = []): ?Place { return $this->api->getPlaceById($id); diff --git a/src/Entity/Place.php b/src/Entity/Place.php index 74866c4f13e4a6df3ef3b7d9f80818fa0d8aadbb..967145d3d33f2c478a692fac8ced34281b1806b8 100644 --- a/src/Entity/Place.php +++ b/src/Entity/Place.php @@ -21,7 +21,7 @@ use Symfony\Component\Serializer\Annotation\Groups; * "loggedin_only" = { * "security" = "is_granted('IS_AUTHENTICATED_FULLY')", * "method" = "GET", - * "path" = "/places/{id}/loggedin-only", + * "path" = "/places/{identifier}/loggedin-only", * "controller" = LoggedInOnly::class, * "openapi_context" = {"summary" = "Only works when logged in."}, * }