mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-11 10:09:24 +03:00
Fixed minor bugs
This commit is contained in:
parent
1af902865b
commit
3e6f2c9e83
@ -60,7 +60,7 @@ abstract class Node
|
|||||||
* This is a reverse operation for $node->toArray(true)
|
* This is a reverse operation for $node->toArray(true)
|
||||||
*
|
*
|
||||||
* @param array $node
|
* @param array $node
|
||||||
* @return EnumValueDefinitionNode
|
* @return Node
|
||||||
*/
|
*/
|
||||||
public static function fromArray(array $node)
|
public static function fromArray(array $node)
|
||||||
{
|
{
|
||||||
|
@ -72,7 +72,7 @@ class StandardServer
|
|||||||
*/
|
*/
|
||||||
public function executeRequest($parsedBody = null)
|
public function executeRequest($parsedBody = null)
|
||||||
{
|
{
|
||||||
if (null !== $parsedBody) {
|
if (null === $parsedBody) {
|
||||||
$parsedBody = $this->helper->parseHttpRequest();
|
$parsedBody = $this->helper->parseHttpRequest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user