Removed deprecated code.
This commit is contained in:
parent
7817524b31
commit
1827eab20c
|
|
@ -40,6 +40,7 @@ so installation via ZIP-archive download is not an option anymore. To install PH
|
||||||
- `\PhpOffice\PhpWord\Shared\String` replaced by `\PhpOffice\Common\Text`. - @Progi1984 @RomanSyroeshko #658
|
- `\PhpOffice\PhpWord\Shared\String` replaced by `\PhpOffice\Common\Text`. - @Progi1984 @RomanSyroeshko #658
|
||||||
- `\PhpOffice\PhpWord\Shared\XMLReader` replaced by `\PhpOffice\Common\XMLReader`. - @Progi1984 #658
|
- `\PhpOffice\PhpWord\Shared\XMLReader` replaced by `\PhpOffice\Common\XMLReader`. - @Progi1984 #658
|
||||||
- `\PhpOffice\PhpWord\Shared\XMLWriter` replaced by `\PhpOffice\Common\XMLWriter`. - @Progi1984 @RomanSyroeshko #658
|
- `\PhpOffice\PhpWord\Shared\XMLWriter` replaced by `\PhpOffice\Common\XMLWriter`. - @Progi1984 @RomanSyroeshko #658
|
||||||
|
- `AbstractContainer::addMemoryImage()`. Use `AbstractContainer::addImage()` instead.
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- `Undefined property` error while reading MS-DOC documents. - @jaberu #610
|
- `Undefined property` error while reading MS-DOC documents. - @jaberu #610
|
||||||
|
|
|
||||||
|
|
@ -248,23 +248,6 @@ abstract class AbstractContainer extends AbstractElement
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Add memory image element
|
|
||||||
*
|
|
||||||
* @deprecated 0.9.0
|
|
||||||
*
|
|
||||||
* @param string $src
|
|
||||||
* @param mixed $style
|
|
||||||
*
|
|
||||||
* @return \PhpOffice\PhpWord\Element\Image
|
|
||||||
*
|
|
||||||
* @codeCoverageIgnore
|
|
||||||
*/
|
|
||||||
public function addMemoryImage($src, $style = null)
|
|
||||||
{
|
|
||||||
return $this->addImage($src, $style);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create textrun element
|
* Create textrun element
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue