This commit is contained in:
parent
3d06c77fc1
commit
6f2d444ba9
|
|
@ -422,6 +422,8 @@ class Image extends AbstractElement
|
|||
/**
|
||||
* Get image size from archive
|
||||
*
|
||||
* @since 0.12.0 Throws CreateTemporaryFileException.
|
||||
*
|
||||
* @param string $source
|
||||
* @return array|null
|
||||
* @throws \PhpOffice\PhpWord\Exception\CreateTemporaryFileException
|
||||
|
|
|
|||
|
|
@ -279,9 +279,10 @@ class Settings
|
|||
/**
|
||||
* Sets the user defined path to temporary directory.
|
||||
*
|
||||
* @since 0.12.0
|
||||
*
|
||||
* @param string $tempDir The user defined path to temporary directory.
|
||||
* @return void
|
||||
* @since 0.12.0
|
||||
*/
|
||||
public static function setTempDir($tempDir)
|
||||
{
|
||||
|
|
@ -291,8 +292,9 @@ class Settings
|
|||
/**
|
||||
* Returns path to temporary directory.
|
||||
*
|
||||
* @return string
|
||||
* @since 0.12.0
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getTempDir()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ class TestHelperDOCX
|
|||
/**
|
||||
* Get document content
|
||||
*
|
||||
* @since 0.12.0 Throws CreateTemporaryFileException.
|
||||
*
|
||||
* @param \PhpOffice\PhpWord\PhpWord $phpWord
|
||||
* @param string $writerName
|
||||
* @return \PhpOffice\PhpWord\Tests\XmlDocument
|
||||
|
|
|
|||
Loading…
Reference in New Issue