File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/Bundle/JoseFramework/Serializer Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ public function __construct(
3232 $ this ->serializerManager = $ serializerManager ;
3333 }
3434
35- public function supportsEncoding (string $ format ): bool
35+ public function supportsEncoding (string $ format, array $ context = [] ): bool
3636 {
3737 return class_exists (JWESerializerManager::class) && $ this ->formatSupported ($ format );
3838 }
3939
40- public function supportsDecoding (string $ format ): bool
40+ public function supportsDecoding (string $ format, array $ context = [] ): bool
4141 {
4242 return class_exists (JWESerializerManager::class) && $ this ->formatSupported ($ format );
4343 }
Original file line number Diff line number Diff line change @@ -31,12 +31,12 @@ public function __construct(
3131 $ this ->serializerManager = $ serializerManager ;
3232 }
3333
34- public function supportsEncoding (string $ format ): bool
34+ public function supportsEncoding (string $ format, array $ context = [] ): bool
3535 {
3636 return class_exists (JWSSerializerManager::class) && $ this ->formatSupported ($ format );
3737 }
3838
39- public function supportsDecoding (string $ format ): bool
39+ public function supportsDecoding (string $ format, array $ context = [] ): bool
4040 {
4141 return class_exists (JWSSerializerManager::class) && $ this ->formatSupported ($ format );
4242 }
You can’t perform that action at this time.
0 commit comments