From 6df1d3464bc7fae87cc8f8e537105c96d7794a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20DUBUC?= Date: Mon, 4 Sep 2017 14:38:49 +0200 Subject: [PATCH] fix exceptions use statements --- src/Segment.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Segment.php b/src/Segment.php index c68fe31..294bc94 100644 --- a/src/Segment.php +++ b/src/Segment.php @@ -3,6 +3,8 @@ namespace Odtphp; use Odtphp\SegmentIterator; +use Odtphp\Exceptions\SegmentException; +use Odtphp\Exceptions\OdfException; /** * Class for handling templating segments with odt files @@ -30,7 +32,7 @@ class Segment implements \IteratorAggregate, \Countable protected $images = array(); protected $odf; protected $file; - + /** * Constructor * @@ -229,7 +231,7 @@ public function __call($meth, $args) throw new SegmentException("method $meth nor var $meth exist"); } } - + /** * Returns the parsed XML *