Use PHP 7.4 featers and PHP 8 polyfills

This commit is contained in:
David Stone
2025-02-08 13:57:32 -07:00
parent 8bea6067cd
commit b41dc2b2eb
550 changed files with 15270 additions and 14627 deletions

View File

@@ -27,7 +27,7 @@ class City extends Rule {
* @since 2.0.4
* @var array
*/
protected $fillableParams = array('country', 'state');
protected $fillableParams = ['country', 'state'];
/**
* Performs the actual check.
*
@@ -35,7 +35,7 @@ class City extends Rule {
*
* @param mixed $city The city value detected.
*/
public function check($city) : bool {
public function check($city): bool {
$check = true;