Skip to content

Commit 2af103b

Browse files
authored
Merge pull request #26 from tolbon/FixPHPDocs
Add PHPDocs
2 parents 10c5c81 + 163aaab commit 2af103b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/Common/Drawing.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public static function twipsToPixels($pValue = 0)
212212
* Convert HTML hexadecimal to RGB
213213
*
214214
* @param string $pValue HTML Color in hexadecimal
215-
* @return array Value in RGB
215+
* @return array|false Value in RGB
216216
*/
217217
public static function htmlToRGB($pValue)
218218
{

src/Common/Text.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ public static function controlCharacterPHP2OOXML($value = '')
6969
* Return a number formatted for being integrated in xml files
7070
* @param float $number
7171
* @param integer $decimals
72+
* @return string
7273
*/
7374
public static function numberFormat($number, $decimals)
7475
{
@@ -79,6 +80,7 @@ public static function numberFormat($number, $decimals)
7980
* @param int $dec
8081
* @link http://stackoverflow.com/a/7153133/2235790
8182
* @author velcrow
83+
* @return string
8284
*/
8385
public static function chr($dec)
8486
{

src/Common/XMLWriter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ class XMLWriter extends \XMLWriter
5050
*
5151
* @param int $pTemporaryStorage Temporary storage location
5252
* @param string $pTemporaryStorageDir Temporary storage folder
53+
* @param bool $compatibility
5354
*/
5455
public function __construct($pTemporaryStorage = self::STORAGE_MEMORY, $pTemporaryStorageDir = null, $compatibility = false)
5556
{

0 commit comments

Comments
 (0)