mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
feat(expect): add more methods
This commit is contained in:
@ -127,7 +127,7 @@ final class Expectation
|
||||
*
|
||||
* @param string $needle
|
||||
*/
|
||||
public function toContainString($needle)
|
||||
public function toContainString(string $needle)
|
||||
{
|
||||
Assert::assertStringContainsString($needle, $this->value);
|
||||
|
||||
@ -140,7 +140,7 @@ final class Expectation
|
||||
*
|
||||
* @param string $needle
|
||||
*/
|
||||
public function toContainStringIgnoringCase($needle)
|
||||
public function toContainStringIgnoringCase(string $needle)
|
||||
{
|
||||
Assert::assertStringContainsStringIgnoringCase($needle, $this->value);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user