Skip to content

Commit d553f59

Browse files
committed
Fix PHP 8.2 deprecated about Allow access to an undefined property
1 parent c6c25d1 commit d553f59

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

src/PhpWord/Reader/MsDoc.php

+10
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@ class MsDoc extends AbstractReader implements ReaderInterface
5656
* Object Pool Stream.
5757
*/
5858
private $dataObjectPool;
59+
60+
/**
61+
* Object Stream.
62+
*/
63+
private $_SummaryInformation;
64+
65+
/**
66+
* Object Stream.
67+
*/
68+
private $_DocumentSummaryInformation;
5969

6070
/**
6171
* @var stdClass[]

src/PhpWord/Shared/OLERead.php

+11
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,17 @@ class OLERead
6161
public $wrkObjectPool = null;
6262
public $summaryInformation = null;
6363
public $docSummaryInfos = null;
64+
public $numBigBlockDepotBlocks = null;
65+
public $rootStartBlock = null;
66+
public $sbdStartBlock = null;
67+
public $extensionBlock = null;
68+
public $numExtensionBlocks = null;
69+
public $bigBlockChain = null;
70+
public $smallBlockChain = null;
71+
public $entry = null;
72+
public $rootentry = null;
73+
public $wrkObjectPoolelseif = null;
74+
public $props = array();
6475

6576
/**
6677
* Read the file

0 commit comments

Comments
 (0)