File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ final class Universal extends Client
88{
99 use Shared \PhpSuperGlobalsConverter;
1010
11- protected $ mockedResponse ;
12- protected $ index ;
11+ protected ? object $ mockedResponse = null ;
12+ protected ? string $ index = null ;
1313
14- public function setIndex ($ index )
14+ public function setIndex (string $ index ): void
1515 {
1616 $ this ->index = $ index ;
1717 }
1818
19- public function mockResponse ($ response )
19+ public function mockResponse (object $ response ): void
2020 {
2121 $ this ->mockedResponse = $ response ;
2222 }
Original file line number Diff line number Diff line change 88class UniversalFramework extends Framework
99{
1010
11- public function _initialize ()
11+ public function _initialize (): void
1212 {
1313 if (isset ($ this ->config ['index ' ])) {
1414 $ index = $ this ->config ['index ' ];
@@ -19,7 +19,7 @@ public function _initialize()
1919 $ this ->client ->setIndex ($ index );
2020 }
2121
22- public function useUniversalFramework ()
22+ public function useUniversalFramework (): void
2323 {
2424
2525 }
You can’t perform that action at this time.
0 commit comments