aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
Diffstat (limited to 'src/Wallabag')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Config.php4
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Config.php b/src/Wallabag/CoreBundle/Entity/Config.php
index e1a2090e..e18b543b 100644
--- a/src/Wallabag/CoreBundle/Entity/Config.php
+++ b/src/Wallabag/CoreBundle/Entity/Config.php
@@ -257,7 +257,7 @@ class Config
257 /** 257 /**
258 * Set readingSpeed. 258 * Set readingSpeed.
259 * 259 *
260 * @param int $readingSpeed 260 * @param float $readingSpeed
261 * 261 *
262 * @return Config 262 * @return Config
263 */ 263 */
@@ -271,7 +271,7 @@ class Config
271 /** 271 /**
272 * Get readingSpeed. 272 * Get readingSpeed.
273 * 273 *
274 * @return int 274 * @return float
275 */ 275 */
276 public function getReadingSpeed() 276 public function getReadingSpeed()
277 { 277 {
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php
index 2af93ffe..51425fe1 100644
--- a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php
+++ b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php
@@ -46,6 +46,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
46 $data = array( 46 $data = array(
47 'config[theme]' => 'baggy', 47 'config[theme]' => 'baggy',
48 'config[items_per_page]' => '30', 48 'config[items_per_page]' => '30',
49 'config[reading_speed]' => '0.5',
49 'config[language]' => 'en', 50 'config[language]' => 'en',
50 ); 51 );
51 52