Skip to content

Commit 632076e

Browse files
vladarmcg-web
authored andcommitted
Fixed syntax errors specific to PHP5.5- to still support PHP5.4+
1 parent 242b46c commit 632076e

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

src/Type/Definition/FloatType.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ class FloatType extends ScalarType
99
public $name = Type::FLOAT;
1010

1111
public $description =
12-
'The `Float` scalar type represents signed double-precision fractional ' .
13-
'values as specified by ' .
14-
'[IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ';
12+
'The `Float` scalar type represents signed double-precision fractional
13+
values as specified by
14+
[IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point). ';
1515

1616
public function serialize($value)
1717
{

src/Type/Definition/IDType.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ class IDType extends ScalarType
99
public $name = 'ID';
1010

1111
public $description =
12-
'The `ID` scalar type represents a unique identifier, often used to ' .
13-
'refetch an object or as key for a cache. The ID type appears in a JSON ' .
14-
'response as a String; however, it is not intended to be human-readable. ' .
15-
'When expected as an input type, any string (such as `"4"`) or integer ' .
16-
'(such as `4`) input value will be accepted as an ID.';
12+
'The `ID` scalar type represents a unique identifier, often used to
13+
refetch an object or as key for a cache. The ID type appears in a JSON
14+
response as a String; however, it is not intended to be human-readable.
15+
When expected as an input type, any string (such as `"4"`) or integer
16+
(such as `4`) input value will be accepted as an ID.';
1717

1818
public function serialize($value)
1919
{

src/Type/Definition/IntType.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ class IntType extends ScalarType
1717
public $name = Type::INT;
1818

1919
public $description =
20-
'The `Int` scalar type represents non-fractional signed whole numeric ' .
21-
'values. Int can represent values between -(2^31) and 2^31 - 1. ';
20+
'The `Int` scalar type represents non-fractional signed whole numeric
21+
values. Int can represent values between -(2^31) and 2^31 - 1. ';
2222

2323
public function serialize($value)
2424
{

src/Type/Definition/StringType.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ class StringType extends ScalarType
88
public $name = Type::STRING;
99

1010
public $description =
11-
'The `String` scalar type represents textual data, represented as UTF-8 ' .
12-
'character sequences. The String type is most often used by GraphQL to ' .
13-
'represent free-form human-readable text.';
11+
'The `String` scalar type represents textual data, represented as UTF-8
12+
character sequences. The String type is most often used by GraphQL to
13+
represent free-form human-readable text.';
1414

1515
public function serialize($value)
1616
{

0 commit comments

Comments
 (0)