File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ public function getOptions(): array
200200 */
201201 public function getOldNewComparison (): int
202202 {
203- return $ this ->oldNewComparison ;
203+ return $ this ->finalize ()-> oldNewComparison ;
204204 }
205205
206206 /**
@@ -255,10 +255,13 @@ public function render(AbstractRenderer $renderer): string
255255 }
256256
257257 /**
258- * Claim this class is all set.
258+ * Claim this class has settled down and we could calculate cached
259+ * properties by current properties.
259260 *
260- * Properties will be propagated to other classes. You must re-call
261- * this method after any property changed before doing calculation.
261+ * This method must be called before accessing cached properties to
262+ * make suer that you will not get a outdated cached value.
263+ *
264+ * @internal
262265 *
263266 * @return self
264267 */
You can’t perform that action at this time.
0 commit comments