File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ final public function attachCodec(Codec $codec): self
65
65
$ this ->decoders [] = $ codec ;
66
66
$ this ->encoders [] = $ codec ;
67
67
if ($ codec instanceof KnowsCodecLibrary) {
68
- $ codec ->attachLibrary ($ this );
68
+ $ codec ->attachCodecLibrary ($ this );
69
69
}
70
70
71
71
return $ this ;
@@ -76,7 +76,7 @@ final public function attachDecoder(Decoder $decoder): self
76
76
{
77
77
$ this ->decoders [] = $ decoder ;
78
78
if ($ decoder instanceof KnowsCodecLibrary) {
79
- $ decoder ->attachLibrary ($ this );
79
+ $ decoder ->attachCodecLibrary ($ this );
80
80
}
81
81
82
82
return $ this ;
@@ -87,7 +87,7 @@ final public function attachEncoder(Encoder $encoder): self
87
87
{
88
88
$ this ->encoders [] = $ encoder ;
89
89
if ($ encoder instanceof KnowsCodecLibrary) {
90
- $ encoder ->attachLibrary ($ this );
90
+ $ encoder ->attachCodecLibrary ($ this );
91
91
}
92
92
93
93
return $ this ;
Original file line number Diff line number Diff line change 24
24
*/
25
25
interface KnowsCodecLibrary
26
26
{
27
- public function attachLibrary (CodecLibrary $ library ): void ;
27
+ public function attachCodecLibrary (CodecLibrary $ library ): void ;
28
28
}
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ private function getTestCodec(): Codec
145
145
146
146
public $ library ;
147
147
148
- public function attachLibrary (CodecLibrary $ library ): void
148
+ public function attachCodecLibrary (CodecLibrary $ library ): void
149
149
{
150
150
$ this ->library = $ library ;
151
151
}
You can’t perform that action at this time.
0 commit comments