Document font may be null

Fixes #833
This commit is contained in:
Adrien Crivelli 2019-01-02 14:34:14 +11:00
parent 3b0c686630
commit 04b5bf593d
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ interface ITextElement
/** /**
* Get font. * Get font.
* *
* @return \PhpOffice\PhpSpreadsheet\Style\Font * @return null|\PhpOffice\PhpSpreadsheet\Style\Font
*/ */
public function getFont(); public function getFont();

View File

@ -28,7 +28,7 @@ class Run extends TextElement implements ITextElement
/** /**
* Get font. * Get font.
* *
* @return Font * @return null|\PhpOffice\PhpSpreadsheet\Style\Font
*/ */
public function getFont() public function getFont()
{ {

View File

@ -49,7 +49,7 @@ class TextElement implements ITextElement
/** /**
* Get font. * Get font.
* *
* @return \PhpOffice\PhpSpreadsheet\Style\Font * @return null|\PhpOffice\PhpSpreadsheet\Style\Font
*/ */
public function getFont() public function getFont()
{ {