@@ -514,7 +514,7 @@ |
||
514 | 514 | * page that the cookie should be visible for. |
515 | 515 | * |
516 | 516 | * @param string $name |
517 | - * @param mixed $value |
|
517 | + * @param null|string $value |
|
518 | 518 | * @param integer $expire |
519 | 519 | * @param string $path |
520 | 520 | * @param string $domain |
@@ -101,7 +101,7 @@ |
||
101 | 101 | * |
102 | 102 | * @param string $viewAction |
103 | 103 | * @param array $queryData |
104 | - * @param array $removeKeys |
|
104 | + * @param string[] $removeKeys |
|
105 | 105 | * @return string Relative url, start with '?' |
106 | 106 | */ |
107 | 107 | public function buildQueryUrl( |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | |
24 | 24 | /** |
25 | - * @return MockObject | Curl |
|
25 | + * @return Curl | Curl |
|
26 | 26 | */ |
27 | 27 | protected function buildCurlMock() |
28 | 28 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | { |
16 | 16 | /** |
17 | 17 | * @param UserSessionInterface $userSession |
18 | - * @return MockObject | AuthenticationInterface |
|
18 | + * @return AuthenticationInterface | AuthenticationInterface |
|
19 | 19 | */ |
20 | 20 | protected function buildMock($userSession) |
21 | 21 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class ServiceContainerTest extends PHPUnitTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return MockObject | ServiceContainer |
|
15 | + * @return ServiceContainer | ServiceContainer |
|
16 | 16 | */ |
17 | 17 | protected function buildMock() |
18 | 18 | { |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | |
30 | 30 | /** |
31 | - * @return MockObject|Adodb |
|
31 | + * @return Adodb |
|
32 | 32 | */ |
33 | 33 | protected function buildDbMock() |
34 | 34 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | |
92 | 92 | |
93 | 93 | /** |
94 | - * @return MockObject|CodeDictionary |
|
94 | + * @return CodeDictionary |
|
95 | 95 | */ |
96 | 96 | protected function buildMock() |
97 | 97 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use Fwlib\Db\DbDataExport; |
5 | 5 | use Fwlib\Test\AbstractDbRelateTest; |
6 | 6 | use Fwlib\Util\UtilContainer; |
7 | -use FwlibTest\Aide\TestServiceContainer; |
|
8 | 7 | |
9 | 8 | /** |
10 | 9 | * @copyright Copyright 2013-2015 Fwolf |
@@ -16,7 +16,7 @@ |
||
16 | 16 | { |
17 | 17 | /** |
18 | 18 | * @param string[] $methods |
19 | - * @param array $params |
|
19 | + * @param string[] $params |
|
20 | 20 | * @return MockObject|AbstractElement |
21 | 21 | */ |
22 | 22 | protected function buildMock(array $methods = [], array $params = []) |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Fwlib\Html\Generator\ElementCollection; |
6 | 6 | use Fwlib\Html\Generator\ElementMode; |
7 | 7 | use Fwlib\Web\HtmlHelper; |
8 | -use Fwolf\Wrapper\PHPUnit\PHPUnitTestCase; |
|
9 | 8 | use PHPUnit_Framework_MockObject_MockObject as MockObject; |
10 | 9 | |
11 | 10 | /** |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | /** |
21 | 21 | * @param string[] $methods |
22 | - * @return MockObject|Form |
|
22 | + * @return \Fwlib\Html\Generator\ElementCollection |
|
23 | 23 | */ |
24 | 24 | protected function buildFormMock(array $methods = null) |
25 | 25 | { |