Use PHP 7.4 featers and PHP 8 polyfills
This commit is contained in:
@ -35,7 +35,7 @@ class Exists extends Rule {
|
||||
* @since 2.0.0
|
||||
* @var array
|
||||
*/
|
||||
protected $fillableParams = array('model', 'column', 'except'); // phpcs:ignore
|
||||
protected $fillableParams = ['model', 'column', 'except']; // phpcs:ignore
|
||||
|
||||
/**
|
||||
* Performs the actual check.
|
||||
@ -47,10 +47,10 @@ class Exists extends Rule {
|
||||
public function check($value): bool {
|
||||
|
||||
$this->requireParameters(
|
||||
array(
|
||||
[
|
||||
'model',
|
||||
'column',
|
||||
)
|
||||
]
|
||||
);
|
||||
|
||||
$column = $this->parameter('column');
|
||||
|
Reference in New Issue
Block a user