@@ -219,85 +219,6 @@ public function render(AbstractRenderer $renderer): string
219219 : $ renderer ->render ();
220220 }
221221
222- /**
223- * Set a and b.
224- *
225- * @deprecated 5.0.0
226- *
227- * @param string[] $a the a
228- * @param string[] $b the b
229- *
230- * @return self
231- */
232- public function setAB (array $ a , array $ b ): self
233- {
234- return $ this ->setOldNew ($ a , $ b );
235- }
236-
237- /**
238- * Set a.
239- *
240- * @deprecated 5.0.0
241- *
242- * @param string[] $a the a
243- *
244- * @return self
245- */
246- public function setA (array $ a ): self
247- {
248- return $ this ->setOld ($ a );
249- }
250-
251- /**
252- * Set b.
253- *
254- * @deprecated 5.0.0
255- *
256- * @param string[] $b the b
257- *
258- * @return self
259- */
260- public function setB (array $ b ): self
261- {
262- return $ this ->setNew ($ b );
263- }
264-
265- /**
266- * Get a range of lines from $start to $end from the first comparison string
267- * and return them as an array.
268- *
269- * If $end is null, it returns array sliced from the $start to the end.
270- *
271- * @deprecated 5.0.0
272- *
273- * @param int $start the starting number. If null, the whole array will be returned.
274- * @param null|int $end the ending number. If null, only the item in $start will be returned.
275- *
276- * @return string[] array of all of the lines between the specified range
277- */
278- public function getA (int $ start = 0 , ?int $ end = null ): array
279- {
280- return $ this ->getOld ($ start , $ end );
281- }
282-
283- /**
284- * Get a range of lines from $start to $end from the second comparison string
285- * and return them as an array.
286- *
287- * If $end is null, it returns array sliced from the $start to the end.
288- *
289- * @deprecated 5.0.0
290- *
291- * @param int $start the starting number
292- * @param null|int $end the ending number
293- *
294- * @return string[] array of all of the lines between the specified range
295- */
296- public function getB (int $ start = 0 , ?int $ end = null ): array
297- {
298- return $ this ->getNew ($ start , $ end );
299- }
300-
301222 /**
302223 * The work horse of getA() and getB().
303224 *
0 commit comments