Skip to content

Commit 39cf78a

Browse files
committed
changed uses and example fixed
1 parent 3691daa commit 39cf78a

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

examples/run_example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
require __DIR__ . '/../../../autoload.php';
44

5-
$inliner = new Northys\CSSInliner;
5+
$inliner = new Northys\CSSInliner\CSSInliner;
66
$inliner->addCSS(__DIR__ . '/example.css');
77
echo $inliner->render(file_get_contents(__DIR__ . '/example.html'));

src/Northys/CSSInliner/CSSInliner.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
namespace Northys\CSSInliner;
44

55
use Northys\CSSInliner\Exceptions;
6-
use DOMDocument;
7-
use DOMXPath;
8-
use Exception;
96
use Sabberworm\CSS;
107
use Symfony\Component\CssSelector\CssSelector;
118

0 commit comments

Comments
 (0)