@@ -140,41 +140,41 @@ public function setSequences($partA, $partB)
140
140
}
141
141
142
142
/**
143
- * Set the first sequence ($a ) and reset any internal caches to indicate that
143
+ * Set the first sequence ($partA ) and reset any internal caches to indicate that
144
144
* when calling the calculation methods, we need to recalculate them.
145
145
*
146
- * @param string|array $a The sequence to set as the first sequence.
146
+ * @param string|array $partA The sequence to set as the first sequence.
147
147
*/
148
- public function setSeq1 ($ a )
148
+ public function setSeq1 ($ partA )
149
149
{
150
- if (!is_array ($ a )) {
151
- $ a = str_split ($ a );
150
+ if (!is_array ($ partA )) {
151
+ $ partA = str_split ($ partA );
152
152
}
153
- if ($ a == $ this ->a ) {
153
+ if ($ partA == $ this ->a ) {
154
154
return ;
155
155
}
156
156
157
- $ this ->a = $ a ;
157
+ $ this ->a = $ partA ;
158
158
$ this ->matchingBlocks = null ;
159
159
$ this ->opCodes = null ;
160
160
}
161
161
162
162
/**
163
- * Set the second sequence ($b ) and reset any internal caches to indicate that
163
+ * Set the second sequence ($partB ) and reset any internal caches to indicate that
164
164
* when calling the calculation methods, we need to recalculate them.
165
165
*
166
- * @param string|array $b The sequence to set as the second sequence.
166
+ * @param string|array $partB The sequence to set as the second sequence.
167
167
*/
168
- public function setSeq2 ($ b )
168
+ public function setSeq2 ($ partB )
169
169
{
170
- if (!is_array ($ b )) {
171
- $ b = str_split ($ b );
170
+ if (!is_array ($ partB )) {
171
+ $ partB = str_split ($ partB );
172
172
}
173
- if ($ b == $ this ->b ) {
173
+ if ($ partB == $ this ->b ) {
174
174
return ;
175
175
}
176
176
177
- $ this ->b = $ b ;
177
+ $ this ->b = $ partB ;
178
178
$ this ->matchingBlocks = null ;
179
179
$ this ->opCodes = null ;
180
180
$ this ->fullBCount = null ;
0 commit comments