Skip to content

Commit 8be1dae

Browse files
authored
Polish (#400)
* Polish * polish * improve workflow * Fix action usage * polish * polish
1 parent dcf8f79 commit 8be1dae

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This library aims to support RFCs:
3434
* [Spoofchecking](/src/Validation/Extra/SpoofCheckValidation.php) and
3535
[DNSCheckValidation](/src/Validation/DNSCheckValidation.php) validation
3636
requires that your PHP system has the
37-
[PHP Internationalization Libraries](https://php.net/manual/en/book.intl.php)
37+
[PHP Internationalization Libraries](https://php.net/manual/en/book.intl.php)
3838
(also known as PHP Intl)
3939

4040
**Note**: `PHP version upgrades will happen to accomodate to the pace of major
@@ -109,7 +109,6 @@ Validations not present in the RFCs
109109
1. [SpoofCheckValidation](/src/Validation/Extra/SpoofCheckValidation.php):
110110
Will check for multi-utf-8 chars that can signal an erroneous email name.
111111

112-
113112
### How to extend
114113

115114
It's easy! You just need to implement
@@ -126,7 +125,8 @@ Is short and simple and will help a lot.
126125
(You can find current contributors
127126
[here](https://github.com/egulias/EmailValidator/graphs/contributors))
128127

129-
As this is a port from another library and work, here are other people related to the previous one:
128+
As this is a port from another library and work, here are other people related
129+
to the previous one:
130130

131131
* Ricard Clau [@ricardclau](https://github.com/ricardclau):
132132
Performance against PHP built-in filter_var (v2 and earlier)

src/Result/Result.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,26 @@ interface Result
66
{
77
/**
88
* Is validation result valid?
9+
*
910
*/
10-
public function isValid() : bool;
11+
public function isValid(): bool;
1112

1213
/**
1314
* Is validation result invalid?
1415
* Usually the inverse of isValid()
16+
*
1517
*/
16-
public function isInvalid() : bool;
18+
public function isInvalid(): bool;
1719

1820
/**
1921
* Short description of the result, human readable.
22+
*
2023
*/
21-
public function description() : string;
24+
public function description(): string;
2225

2326
/**
2427
* Code for user land to act upon.
28+
*
2529
*/
26-
public function code() : int;
30+
public function code(): int;
2731
}

0 commit comments

Comments
 (0)