Fixes for last commit
This commit is contained in:
parent
048436cd04
commit
7c12dfc735
|
|
@ -132,7 +132,7 @@ class Settings
|
||||||
* This sets the setIndent and setIndentString for better compatibility
|
* This sets the setIndent and setIndentString for better compatibility
|
||||||
*
|
*
|
||||||
* @param bool $compatibility
|
* @param bool $compatibility
|
||||||
* @return true
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function setCompatibility($compatibility)
|
public static function setCompatibility($compatibility)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -430,7 +430,7 @@ class Table extends Border
|
||||||
/**
|
/**
|
||||||
* Get cell margin
|
* Get cell margin
|
||||||
*
|
*
|
||||||
* @return int[]
|
* @return integer[]
|
||||||
*/
|
*/
|
||||||
public function getCellMargin()
|
public function getCellMargin()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -103,6 +103,6 @@ class SettingsTest extends \PHPUnit_Framework_TestCase
|
||||||
'defaultFontName' => 'Arial',
|
'defaultFontName' => 'Arial',
|
||||||
'defaultFontSize' => 10,
|
'defaultFontSize' => 10,
|
||||||
);
|
);
|
||||||
$this->assertEquals($expected, Settings::loadConfig(__DIR__ . '/../../../phpword.yml.dist'));
|
$this->assertEquals($expected, Settings::loadConfig(__DIR__ . '/../../../phpword.ini.dist'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue