Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.

Commit 1827eab

Browse files
author
Roman Syroeshko
committed
Removed deprecated code.
1 parent 7817524 commit 1827eab

File tree

2 files changed

+1
-17
lines changed

2 files changed

+1
-17
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ so installation via ZIP-archive download is not an option anymore. To install PH
4040
- `\PhpOffice\PhpWord\Shared\String` replaced by `\PhpOffice\Common\Text`. - @Progi1984 @RomanSyroeshko #658
4141
- `\PhpOffice\PhpWord\Shared\XMLReader` replaced by `\PhpOffice\Common\XMLReader`. - @Progi1984 #658
4242
- `\PhpOffice\PhpWord\Shared\XMLWriter` replaced by `\PhpOffice\Common\XMLWriter`. - @Progi1984 @RomanSyroeshko #658
43+
- `AbstractContainer::addMemoryImage()`. Use `AbstractContainer::addImage()` instead.
4344

4445
### Fixed
4546
- `Undefined property` error while reading MS-DOC documents. - @jaberu #610

src/PhpWord/Element/AbstractContainer.php

-17
Original file line numberDiff line numberDiff line change
@@ -248,23 +248,6 @@ private function checkValidity($method)
248248
return true;
249249
}
250250

251-
/**
252-
* Add memory image element
253-
*
254-
* @deprecated 0.9.0
255-
*
256-
* @param string $src
257-
* @param mixed $style
258-
*
259-
* @return \PhpOffice\PhpWord\Element\Image
260-
*
261-
* @codeCoverageIgnore
262-
*/
263-
public function addMemoryImage($src, $style = null)
264-
{
265-
return $this->addImage($src, $style);
266-
}
267-
268251
/**
269252
* Create textrun element
270253
*

0 commit comments

Comments
 (0)