File tree Expand file tree Collapse file tree 3 files changed +16
-2
lines changed
Expand file tree Collapse file tree 3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 66
77class CI_Email
88{
9+ public function to (string $ to ): CI_Email
10+ {
11+ return $ this ;
12+ }
913}
Original file line number Diff line number Diff line change 66
77class CI_Input
88{
9- public function method (): string
9+ public function method (bool $ upper = false ): string
1010 {
1111 return 'GET ' ;
1212 }
13+
14+ /**
15+ * @param mixed $index
16+ *
17+ * @return mixed
18+ */
19+ public function get ($ index = null , bool $ xss_clean = false )
20+ {
21+ return 'GET value ' ;
22+ }
1323}
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ public function test_getDouble_method_returns_execption(): void
7878 };
7979 $ mock = $ this ->getDouble (CI_Input::class, ['method ' => $ ret ]);
8080
81- $ mock ->method (' abc ' , ' def ' );
81+ $ mock ->method ();
8282 }
8383
8484 public function test_getDouble_constructor_param (): void
You can’t perform that action at this time.
0 commit comments