From f8ee23049587e407c51d6f83337be885ea560e31 Mon Sep 17 00:00:00 2001 From: Roman Syroeshko Date: Thu, 4 Dec 2014 22:12:16 +0400 Subject: [PATCH] [FIXED] Typo. --- src/PhpWord/PhpWord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpWord/PhpWord.php b/src/PhpWord/PhpWord.php index 7568d81b..99c95c79 100644 --- a/src/PhpWord/PhpWord.php +++ b/src/PhpWord/PhpWord.php @@ -122,7 +122,7 @@ class PhpWord $styles = array('Paragraph', 'Font', 'Table', 'Numbering', 'Link', 'Title'); foreach ($styles as $style) { - $addStyle[] = strtolower("add{$style}style"); + $addStyle[] = strtolower("add{$style}Style"); } // Run get collection method