Skip to content

Commit 38b09a6

Browse files
committed
DocBlock: Fix parameter types in @param annotations
1 parent e8b2dfe commit 38b09a6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Codeception/Module/REST.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1581,8 +1581,8 @@ public function dontSeeXmlResponseIncludes($xml)
15811581
* ?>
15821582
* ```
15831583
*
1584-
* @param $hash the hashed data response expected
1585-
* @param $algo the hash algorithm to use. Default md5.
1584+
* @param string $hash the hashed data response expected
1585+
* @param string $algo the hash algorithm to use. Default md5.
15861586
* @part json
15871587
* @part xml
15881588
*/
@@ -1602,8 +1602,8 @@ public function seeBinaryResponseEquals($hash, $algo = 'md5')
16021602
* ```
16031603
* Opposite to `seeBinaryResponseEquals`
16041604
*
1605-
* @param $hash the hashed data response expected
1606-
* @param $algo the hash algorithm to use. Default md5.
1605+
* @param string $hash the hashed data response expected
1606+
* @param string $algo the hash algorithm to use. Default md5.
16071607
* @part json
16081608
* @part xml
16091609
*/

tests/unit/Codeception/Module/RestTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function queryParamsAwareMethods()
243243
*/
244244
public function testThrowsExceptionIfParametersIsString($method)
245245
{
246-
$this->expectExceptionMessage($method, ' parameters must be passed in array format');
246+
$this->expectExceptionMessage($method . ' parameters must be passed in array format');
247247
$this->module->send($method, '/', 'string');
248248
}
249249

0 commit comments

Comments
 (0)