@@ -29,11 +29,11 @@ |
||
| 29 | 29 | $value = (string) $value; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - if (! is_string($value)) { |
|
| 32 | + if (!is_string($value)) { |
|
| 33 | 33 | return false; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - if (! is_numeric($compare = $this->parameter('value'))) { |
|
| 36 | + if (!is_numeric($compare = $this->parameter('value'))) { |
|
| 37 | 37 | $compare = $this->getAttribute()->getValue($compare); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | */ |
| 21 | 21 | public function check($value): bool |
| 22 | 22 | { |
| 23 | - if (! is_string($value) && ! is_numeric($value)) { |
|
| 23 | + if (!is_string($value) && !is_numeric($value)) { |
|
| 24 | 24 | return false; |
| 25 | 25 | } |
| 26 | 26 | |
@@ -18,6 +18,6 @@ |
||
| 18 | 18 | */ |
| 19 | 19 | public function check($value): bool |
| 20 | 20 | { |
| 21 | - return ! parent::check($value); |
|
| 21 | + return !parent::check($value); |
|
| 22 | 22 | } |
| 23 | 23 | } |
@@ -35,15 +35,15 @@ |
||
| 35 | 35 | $this->requireParameters($this->fillableParams); |
| 36 | 36 | $time = $this->parameter('time'); |
| 37 | 37 | |
| 38 | - if (! $this->isValidDate($value)) { |
|
| 38 | + if (!$this->isValidDate($value)) { |
|
| 39 | 39 | throw $this->throwException($value); |
| 40 | 40 | } |
| 41 | 41 | |
| 42 | - if (! $this->isValidDate($time)) { |
|
| 42 | + if (!$this->isValidDate($time)) { |
|
| 43 | 43 | $time = $this->getAttribute()->getValue($time); |
| 44 | 44 | } |
| 45 | 45 | |
| 46 | - if (! $this->isValidDate($time)) { |
|
| 46 | + if (!$this->isValidDate($time)) { |
|
| 47 | 47 | throw $this->throwException($time); |
| 48 | 48 | } |
| 49 | 49 | |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $max = $this->getBytesSize($this->parameter('max')); |
| 33 | 33 | $valueSize = $this->getValueSize($value); |
| 34 | 34 | |
| 35 | - if (! is_numeric($valueSize)) { |
|
| 35 | + if (!is_numeric($valueSize)) { |
|
| 36 | 36 | return false; |
| 37 | 37 | } |
| 38 | 38 | |
@@ -29,11 +29,11 @@ |
||
| 29 | 29 | $value = (string) $value; |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - if (! is_string($value)) { |
|
| 32 | + if (!is_string($value)) { |
|
| 33 | 33 | return false; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - if (! is_numeric($compare = $this->parameter('value'))) { |
|
| 36 | + if (!is_numeric($compare = $this->parameter('value'))) { |
|
| 37 | 37 | $compare = $this->getAttribute()->getValue($compare); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | $this->setParameterTextValues($fields, 'values'); |
| 44 | 44 | |
| 45 | 45 | foreach ($fields as $field) { |
| 46 | - if (! $this->validation->hasValue($field)) { |
|
| 46 | + if (!$this->validation->hasValue($field)) { |
|
| 47 | 47 | return true; |
| 48 | 48 | } |
| 49 | 49 | } |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $this->setParameterTextValues((array) $anotherAttribute, 'other_attribute'); |
| 46 | 46 | $this->setParameterTextValues((array) $definedValues, 'other_value'); |
| 47 | 47 | |
| 48 | - if (! in_array($anotherValue, $definedValues, is_bool($anotherValue) || null === $definedValues)) { |
|
| 48 | + if (!in_array($anotherValue, $definedValues, is_bool($anotherValue) || null === $definedValues)) { |
|
| 49 | 49 | $validator = $this->validation->getValidator(); |
| 50 | 50 | $presentValidator = $validator('present'); |
| 51 | 51 | |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | $this->requireParameters(['allowed_values']); |
| 37 | 37 | $this->setAllowedValues($this->parameters = $this->parameter('allowed_values')); |
| 38 | 38 | |
| 39 | - if (! $this->isValidFileInstance($value)) { |
|
| 39 | + if (!$this->isValidFileInstance($value)) { |
|
| 40 | 40 | return false; |
| 41 | 41 | } |
| 42 | 42 | |