File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ public function setSelectionSet(array $selectionSet)
4040 */
4141 protected function constructSelectionSet (): string
4242 {
43- $ attributesString = " { \n" ;
43+ $ attributesString = " { " . PHP_EOL ;
4444 $ first = true ;
4545 foreach ($ this ->selectionSet as $ attribute ) {
4646
4747 // Append empty line at the beginning if it's not the first item on the list
4848 if ($ first ) {
4949 $ first = false ;
5050 } else {
51- $ attributesString .= "\n" ;
51+ $ attributesString .= PHP_EOL ;
5252 }
5353
5454 // If query is included in attributes set as a nested query
@@ -59,7 +59,7 @@ protected function constructSelectionSet(): string
5959 // Append attribute to returned attributes list
6060 $ attributesString .= $ attribute ;
6161 }
62- $ attributesString .= "\n } " ;
62+ $ attributesString .= PHP_EOL . " } " ;
6363
6464 return $ attributesString ;
6565 }
You can’t perform that action at this time.
0 commit comments