File tree Expand file tree Collapse file tree
src/V2/Parsing/Inference/Field Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,14 +61,6 @@ public function getFloatValue(): ?float
6161 return null !== $ this ->value ? (float ) $ this ->value : null ;
6262 }
6363
64- /**
65- * @return integer|null Integer representation of the field value.
66- */
67- public function getIntValue (): ?int
68- {
69- return null !== $ this ->value ? (int ) $ this ->value : null ;
70- }
71-
7264 /**
7365 * @return boolean|null Boolean representation of the field value.
7466 */
Original file line number Diff line number Diff line change @@ -222,12 +222,10 @@ public function testStandardFieldTypesMustExposeCorrectTypes(): void
222222 $ fieldSimpleInt = $ fields ->get ('field_simple_int ' );
223223 self ::assertInstanceOf (SimpleField::class, $ fieldSimpleInt );
224224 self ::assertIsFloat ($ fieldSimpleInt ->getFloatValue ());
225- self ::assertIsInt ($ fieldSimpleInt ->getIntValue ());
226225
227226 $ fieldSimpleZero = $ fields ->get ('field_simple_zero ' );
228227 self ::assertInstanceOf (SimpleField::class, $ fieldSimpleZero );
229228 self ::assertIsFloat ($ fieldSimpleZero ->getFloatValue ());
230- self ::assertIsInt ($ fieldSimpleZero ->getIntValue ());
231229
232230 $ fieldSimpleBool = $ fields ->get ('field_simple_bool ' );
233231 self ::assertInstanceOf (SimpleField::class, $ fieldSimpleBool );
@@ -237,7 +235,6 @@ public function testStandardFieldTypesMustExposeCorrectTypes(): void
237235 self ::assertInstanceOf (SimpleField::class, $ fieldSimpleNull );
238236 self ::assertNull ($ fieldSimpleNull ->value );
239237 self ::assertNull ($ fieldSimpleNull ->getStringValue ());
240- self ::assertNull ($ fieldSimpleNull ->getIntValue ());
241238 self ::assertNull ($ fieldSimpleNull ->getFloatValue ());
242239 self ::assertNull ($ fieldSimpleNull ->getBoolValue ());
243240
You can’t perform that action at this time.
0 commit comments