Skip to content

Commit 9c6d07a

Browse files
author
Roman Syroeshko
committed
#58 - autoloading fix.
1 parent 667d0aa commit 9c6d07a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* @version 0.8.0
2626
*/
2727

28-
namespace PhpOffice\PhpWord\Autoloader;
28+
namespace PhpOffice\PhpWord;
2929

3030
if (!\defined('PHPWORD_BASE_DIR')) {
3131
\define('PHPWORD_BASE_DIR', \realpath(__DIR__) . \DIRECTORY_SEPARATOR);

src/PhpWord.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
if (!defined('PHPWORD_BASE_DIR')) {
3838
define('PHPWORD_BASE_DIR', \realpath(__DIR__) . \DIRECTORY_SEPARATOR);
3939
require \PHPWORD_BASE_DIR . 'Autoloader.php';
40-
PhpOffice\PhpWord\Autoloader::register();
40+
Autoloader::register();
4141
}
4242
// @codeCoverageIgnoreEnd
4343

0 commit comments

Comments
 (0)