@@ -83,9 +83,7 @@ discard block |
||
| 83 | 83 | /** |
| 84 | 84 | * Initialize class. |
| 85 | 85 | * |
| 86 | - * @param string $url Base URL for REST calls |
|
| 87 | 86 | * @param string $driver REST Driver to be used |
| 88 | - * @param string $json |
|
| 89 | 87 | */ |
| 90 | 88 | public function __construct( |
| 91 | 89 | UserFacade $userFacade, |
@@ -101,6 +99,9 @@ discard block |
||
| 101 | 99 | $this->setRestDriver($this->driver); |
| 102 | 100 | } |
| 103 | 101 | |
| 102 | + /** |
|
| 103 | + * @param string $url |
|
| 104 | + */ |
|
| 104 | 105 | private function setUrl($url) |
| 105 | 106 | { |
| 106 | 107 | $this->url = $url; |
@@ -177,6 +178,8 @@ discard block |
||
| 177 | 178 | |
| 178 | 179 | /** |
| 179 | 180 | * @When I send a :type request to :resource (url) |
| 181 | + * @param string $type |
|
| 182 | + * @param string $resource |
|
| 180 | 183 | */ |
| 181 | 184 | public function createAndSendRequest($type, $resource) |
| 182 | 185 | { |
@@ -64,6 +64,7 @@ |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * @When I create a (new) session with login :login and password :password |
| 67 | + * @param string $login |
|
| 67 | 68 | */ |
| 68 | 69 | public function createSession($login, $password) |
| 69 | 70 | { |