Register style can be skipped when already registered

This commit is contained in:
Antoine Lamirault committed 2021-02-22 20:47:32 +01:00
1 parent 40bdc9c0f1
commit f109432880
9 files changed
+84 -31

No files matched your search

@@ -24,7 +24,7 @@ interface StyleManagerInterface
* Typically, set "wrap text" if a cell contains a new line.
*
* @param Cell $cell
* @return Style The updated style
* @return Style|null The eventually updated style
*/
public function applyExtraStylesIfNeeded(Cell $cell);
public function applyExtraStylesIfNeeded(Cell $cell) : ?Style;
}