|
|
@@ -84,7 +84,7 @@ class IntegerType extends Type implements TypeInterface, BatchCastingInterface
|
|
|
return $value;
|
|
|
}
|
|
|
|
|
|
- // Using coersion is faster than casting
|
|
|
+ // Using coercion is faster than casting
|
|
|
// @codingStandardsIgnoreStart
|
|
|
return (int)+$value;
|
|
|
// @codingStandardsIgnoreEnd
|
|
|
@@ -101,7 +101,7 @@ class IntegerType extends Type implements TypeInterface, BatchCastingInterface
|
|
|
if (!isset($values[$field])) {
|
|
|
continue;
|
|
|
}
|
|
|
- // Using coersion is faster than casting
|
|
|
+ // Using coercion is faster than casting
|
|
|
// @codingStandardsIgnoreStart
|
|
|
$values[$field] = (int)+$values[$field];
|
|
|
// @codingStandardsIgnoreEnd
|