Skip to content

Commit bea7dbc

Browse files
committed
update : supplement class name
1 parent a5b89b4 commit bea7dbc

30 files changed

+30
-30
lines changed

src/Validator/AnyString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(?string $cnkey, int $min_length = 0, int $max_length = 4096)
4+
* @method static AnyString getInstance(?string $cnkey, int $min_length = 0, int $max_length = 4096)
55
*/
66
class AnyString extends \Swango\HttpServer\Validator {
77
private int $min_length, $max_length;

src/Validator/Anything.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(?string $key, &$value)
4+
* @method static Anything getInstance(?string $key, &$value)
55
*/
66
class Anything extends \Swango\HttpServer\Validator {
77
protected function check(?string $key, &$value): void {}

src/Validator/BackedEnum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance($cnkey, string $enum_class, ?array $valid_array = null)
4+
* @method static BackedEnum getInstance($cnkey, string $enum_class, ?array $valid_array = null)
55
*/
66
class BackedEnum extends \Swango\HttpServer\Validator {
77
public function __construct($cnkey, protected string $enum_class, protected ?array $valid_array = null) {

src/Validator/BankCard.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance()
4+
* @method static BankCard getInstance()
55
*/
66
class BankCard extends Varchar {
77
public function __construct() {

src/Validator/Boolean.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(?string $cnkey)
4+
* @method static Boolean getInstance(?string $cnkey)
55
*/
66
class Boolean extends \Swango\HttpServer\Validator {
77
public function getCnMsg(): string {

src/Validator/COI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance()
4+
* @method static COI getInstance()
55
*/
66
class COI extends Varchar {
77
public function __construct() {

src/Validator/Date.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(string $cnkey, bool $not_futrue = true)
4+
* @method static Date getInstance(string $cnkey, bool $not_futrue = true)
55
*/
66
class Date extends Ob {
77
private $not_futrue;

src/Validator/DateString.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(string $key)
4+
* @method static DateString getInstance(string $key)
55
*/
66
class DateString extends Varchar {
77
public function __construct(string $key) {

src/Validator/Double.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(?string $cnkey, ?int $decimal = null, float $min = 0.0, float $max = 2147483647.0)
4+
* @method static Double getInstance(?string $cnkey, ?int $decimal = null, float $min = 0.0, float $max = 2147483647.0)
55
*/
66
class Double extends \Swango\HttpServer\Validator {
77
private ?int $decimal;

src/Validator/Email.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Swango\HttpServer\Validator;
33
/**
4-
* @method static getInstance(?string $cnkey)
4+
* @method static Email getInstance(?string $cnkey)
55
*/
66
class Email extends \Swango\HttpServer\Validator {
77
public function getCnMsg(): string {

0 commit comments

Comments
 (0)