fix: type declarations

This commit is contained in:
Nasser Hekmati committed 2026-10-25 11:46:38 +03:30
1 parent f0b648b7a4
commit 834bbd0da8
3 files changed
+10 -10

No files matched your search

+4 -4
View File
@@ -80,7 +80,7 @@ class JalaliValidatorTest extends TestCase
/***
* provider for tests
*/
public static function correctDateFormatProvider()
public static function correctDateFormatProvider(): array
{
return [
[
@@ -112,7 +112,7 @@ class JalaliValidatorTest extends TestCase
/**
* provider for tests
*/
public static function incorrectDateFormatProvider()
public static function incorrectDateFormatProvider(): array
{
return [
[
@@ -133,7 +133,7 @@ class JalaliValidatorTest extends TestCase
/**
* provider for tests
*/
public static function jalaliValidatorMethods()
public static function jalaliValidatorMethods(): array
{
return [
["validateDate"],
@@ -155,7 +155,7 @@ class JalaliValidatorTest extends TestCase
* @test
* @dataProvider jalaliValidatorMethods
*/
public function whenJalaliValidatorSecoundArgumentIsEmpty($method)
public function whenJalaliValidatorSecondArgumentIsEmpty($method)
{
$this->assertFalse(
$this->jalaliValidator->{$method}(null, [], [])